Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/skia/third_party/externals/dawn/src/utils/
DWindowsTimer.cpp29 LARGE_INTEGER curTime; in Start() local
30 QueryPerformanceCounter(&curTime); in Start()
31 mStartTime = curTime.QuadPart; in Start()
40 LARGE_INTEGER curTime; in Stop() local
41 QueryPerformanceCounter(&curTime); in Stop()
42 mStopTime = curTime.QuadPart; in Stop()
50 LARGE_INTEGER curTime; in GetElapsedTime() local
51 QueryPerformanceCounter(&curTime); in GetElapsedTime()
52 endTime = curTime.QuadPart; in GetElapsedTime()
61 LARGE_INTEGER curTime; in GetAbsoluteTime() local
[all …]
/third_party/vk-gl-cts/framework/qphelper/
DqpWatchDog.c75 deUint64 curTime = deGetMicroseconds(); in watchDogThreadFunc() local
76 int totalSecondsPassed = (int)((curTime - dog->resetTime) / 1000000ull); in watchDogThreadFunc()
77 int secondsSinceLastTouch = (int)((curTime - dog->lastTouchTime) / 1000000ull); in watchDogThreadFunc()
130 deUint64 curTime = deGetMicroseconds(); in qpWatchDog_reset() local
135 dog->resetTime = curTime; in qpWatchDog_reset()
136 dog->lastTouchTime = curTime; in qpWatchDog_reset()
/third_party/vk-gl-cts/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()
/third_party/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()
163 std::string timeStr = std::to_string((float) (curTime - start) / 1000.f); in onDrawContent()
168 curTime = TimeUtils::NanosToMSec(nanos); in onAnimate()
170 start = curTime; in onAnimate()
/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/angle2/src/common/
Dsystem_utils_win.cpp80 LARGE_INTEGER curTime; in GetCurrentSystemTime() local
81 QueryPerformanceCounter(&curTime); in GetCurrentSystemTime()
83 return static_cast<double>(curTime.QuadPart) / frequency.QuadPart; in GetCurrentSystemTime()
/third_party/vk-gl-cts/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()
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-operation.js243 var curTime = new Date().getTime();
244 longAsyncFunction(maxRetryTime - (curTime - startTime - 1), function(){
/third_party/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp719 UInt32 curTime = ::GetTickCount(); in UpdateStatInfo() local
742 _elapsedTime += (curTime - _prevTime); in UpdateStatInfo()
743 _prevTime = curTime; in UpdateStatInfo()
1126 UInt32 curTime = ::GetTickCount(); in OnPauseButton() local
1128 _elapsedTime += (curTime - _prevTime); in OnPauseButton()
1130 _prevTime = curTime; in OnPauseButton()
/third_party/vk-gl-cts/executor/
DxeTcpIpLink.cpp517 deUint64 curTime = deGetMicroseconds(); in keepaliveTimerCallback() local
520 if ((deInt64)curTime-(deInt64)lastKeepalive > xs::KEEPALIVE_TIMEOUT*1000) in keepaliveTimerCallback()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pTextureUploadTests.cpp436 deUint64 curTime = deGetMicroseconds(); in iterate() local
437 m_calibrator.recordIteration(curTime - m_renderStart); in iterate()
/third_party/lzma/CPP/7zip/UI/Console/
DMain.cpp614 UInt64 curTime = GetTime64(curTimeFT); in PrintStat() local
619 UInt64 totalTime = curTime - creationTime; in PrintStat()