Home
last modified time | relevance | path

Searched refs:curTime (Results 1 – 17 of 17) sorted by relevance

/external/libdrm/tests/ttmtest/src/
Dttmtest.c172 unsigned long curTime, oldTime; in benchmarkBuffer() local
185 curTime = fastrdtsc(); in benchmarkBuffer()
186 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
191 curTime = fastrdtsc(); in benchmarkBuffer()
192 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
196 curTime = fastrdtsc(); in benchmarkBuffer()
197 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
201 curTime = fastrdtsc(); in benchmarkBuffer()
202 *ticks++ = time_diff(oldTime, curTime); in benchmarkBuffer()
206 curTime = fastrdtsc(); in benchmarkBuffer()
[all …]
/external/deqp/framework/qphelper/
DqpWatchDog.c69 deUint64 curTime = deGetMicroseconds(); in watchDogThreadFunc() local
70 int totalSecondsPassed = (int)((curTime - dog->resetTime) / 1000000ull); in watchDogThreadFunc()
71 int secondsSinceLastTouch = (int)((curTime - dog->lastTouchTime) / 1000000ull); in watchDogThreadFunc()
123 deUint64 curTime = deGetMicroseconds(); in qpWatchDog_reset() local
128 dog->resetTime = curTime; in qpWatchDog_reset()
129 dog->lastTouchTime = curTime; in qpWatchDog_reset()
/external/deqp/execserver/
DxsExecutionServer.cpp249 deUint64 curTime = deGetMicroseconds(); in processSession() local
251 lastIoTime = curTime; in processSession()
252 else if (curTime-lastIoTime > SERVER_IDLE_THRESHOLD*1000) in processSession()
312 deUint64 curTime = deGetMicroseconds(); in initKeepAlives() local
313 m_lastKeepAliveSent = curTime; in initKeepAlives()
314 m_lastKeepAliveReceived = curTime; in initKeepAlives()
324 deUint64 curTime = deGetMicroseconds(); in pollKeepAlives() local
327 if (curTime - m_lastKeepAliveReceived > KEEPALIVE_TIMEOUT*1000) in pollKeepAlives()
331 if (curTime - m_lastKeepAliveSent > KEEPALIVE_SEND_INTERVAL*1000 && in pollKeepAlives()
/external/skqp/samplecode/
DSampleCusp.cpp29 SkMSec curTime; variable
36 SkScalar t = (curTime % speed) / SkIntToFloat(speed); in cusp()
56 SkScalar linear = (curTime % speed) / SkIntToFloat(speed); // 0 to 1 in linearToLoop()
169 std::string timeStr = std::to_string((float) (curTime - start) / 1000.f); in onDrawContent()
175 curTime = timer.msec(); in onAnimate()
177 start = curTime; in onAnimate()
/external/skia/samplecode/
DSampleCusp.cpp29 SkMSec curTime; variable
36 SkScalar t = (curTime % speed) / SkIntToFloat(speed); in cusp()
56 SkScalar linear = (curTime % speed) / SkIntToFloat(speed); // 0 to 1 in linearToLoop()
169 std::string timeStr = std::to_string((float) (curTime - start) / 1000.f); in onDrawContent()
175 curTime = timer.msec(); in onAnimate()
177 start = curTime; in onAnimate()
/external/deqp/execserver/tools/
DxsTest.cpp730 int curTime = 0; in runClient() local
737 curTime = clock.getMilliseconds(); in runClient()
739 while (curTime < testTime) in runClient()
743 if (curTime-lastSendTime > sendInterval) in runClient()
745 printf(" %d ms: sending keepalive\n", curTime); in runClient()
747 curTime = clock.getMilliseconds(); in runClient()
748 lastSendTime = curTime; in runClient()
755 printf(" %d ms: waiting for keepalive\n", curTime); in runClient()
762 printf(" %d ms: got keepalive\n", curTime); in runClient()
771 curTime = clock.getMilliseconds(); in runClient()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_datetime.cpp99 timeval curTime; in Now() local
100 gettimeofday(&curTime, nullptr); in Now()
103 localtime_r(&curTime.tv_sec, &st); in Now()
111 utLocal.wMillisecond = curTime.tv_usec / 1000; in Now()
/external/deqp/framework/platform/android/
DtcuAndroidExecService.cpp225 deUint64 curTime = deGetMicroseconds(); in isRunning() local
228 if (curTime-m_launchTime < PROCESS_START_TIMEOUT || in isRunning()
229 curTime-m_lastQueryTime < PROCESS_QUERY_INTERVAL) in isRunning()
237 m_lastQueryTime = curTime; in isRunning()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRenderNodeAnimator.java111 long curTime = frameTimeNanos - startTime;
112 if (curTime >= duration) {
/external/pdfium/fpdfsdk/
Dcpdfsdk_datetime.cpp95 time_t curTime; in ResetDateTime() local
96 time(&curTime); in ResetDateTime()
98 struct tm* newtime = localtime(&curTime); in ResetDateTime()
Dcpdfsdk_annothandlermgr.cpp68 CPDFSDK_DateTime curTime; in Annot_OnCreate() local
70 "M", curTime.ToPDFDateTimeString(), false); in Annot_OnCreate()
/external/vogar/src/vogar/
DClassFileIndex.java122 long curTime = new Date().getTime(); in createIndex() local
123 boolean cacheExpired = lastModified < curTime - CACHE_EXPIRY; in createIndex()
/external/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp708 UInt32 curTime = ::GetTickCount(); in UpdateStatInfo() local
731 _elapsedTime += (curTime - _prevTime); in UpdateStatInfo()
732 _prevTime = curTime; in UpdateStatInfo()
1100 UInt32 curTime = ::GetTickCount(); in OnPauseButton() local
1102 _elapsedTime += (curTime - _prevTime); in OnPauseButton()
1104 _prevTime = curTime; in OnPauseButton()
/external/deqp/executor/
DxeTcpIpLink.cpp517 deUint64 curTime = deGetMicroseconds(); in keepaliveTimerCallback() local
520 if ((deInt64)curTime-(deInt64)lastKeepalive > xs::KEEPALIVE_TIMEOUT*1000) in keepaliveTimerCallback()
/external/deqp/modules/gles2/performance/
Des2pTextureUploadTests.cpp436 deUint64 curTime = deGetMicroseconds(); in iterate() local
437 m_calibrator.recordIteration(curTime - m_renderStart); in iterate()
/external/lzma/CPP/7zip/UI/Console/
DMain.cpp450 UInt64 curTime = GetTime64(curTimeFT); in PrintStat() local
455 UInt64 totalTime = curTime - creationTime; in PrintStat()
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...