/third_party/libdrm/tests/ttmtest/src/ |
D | ttmtest.c | 172 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/ |
D | WindowsTimer.cpp | 29 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/ |
D | qpWatchDog.c | 75 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/ |
D | xsExecutionServer.cpp | 249 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/ |
D | SampleCusp.cpp | 29 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/ |
D | xsTest.cpp | 730 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/ |
D | system_utils_win.cpp | 80 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/ |
D | tcuAndroidExecService.cpp | 225 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/ |
D | test-retry-operation.js | 243 var curTime = new Date().getTime(); 244 longAsyncFunction(maxRetryTime - (curTime - startTime - 1), function(){
|
/third_party/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.cpp | 719 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/ |
D | xeTcpIpLink.cpp | 517 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/ |
D | es2pTextureUploadTests.cpp | 436 deUint64 curTime = deGetMicroseconds(); in iterate() local 437 m_calibrator.recordIteration(curTime - m_renderStart); in iterate()
|
/third_party/lzma/CPP/7zip/UI/Console/ |
D | Main.cpp | 614 UInt64 curTime = GetTime64(curTimeFT); in PrintStat() local 619 UInt64 totalTime = curTime - creationTime; in PrintStat()
|