Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 7 of 7) sorted by relevance

/developtools/profiler/device/base/src/
Dschedule_task_manager.cpp86 auto currentTime = Clock::now(); in ScheduleTask() local
93 task->nextRunTime = currentTime + initialDelay; in ScheduleTask()
166 auto currentTime = Clock::now(); in ScheduleThread() local
167 if (targetTime >= currentTime) { in ScheduleThread()
168 std::this_thread::sleep_for(targetTime - currentTime); in ScheduleThread()
/developtools/profiler/device/services/profiler_service/src/
Dresult_demuxer.cpp99 auto currentTime = std::chrono::steady_clock::now(); in TakeResults() local
100 …auto elapsedTime = std::chrono::duration_cast<std::chrono::milliseconds>(currentTime - lastFlushTi… in TakeResults()
103 lastFlushTime_ = currentTime; in TakeResults()
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dresult_transporter.cpp56 auto currentTime = std::chrono::high_resolution_clock::now(); in IsFlushTime() local
57 auto elapsedTime = std::chrono::duration_cast<decltype(flushInterval_)>(currentTime - lastTime); in IsFlushTime()
61 lastTime = currentTime; in IsFlushTime()
/developtools/profiler/device/plugins/native_hook/test/
Dhook_test.cpp56 auto currentTime = Now(); in ElapsedUs() local
57 … return std::chrono::duration_cast<std::chrono::microseconds>(currentTime - startTime_).count(); in ElapsedUs()
/developtools/profiler/device/services/profiler_service/test/unittest/
Dprofiler_service_test.cpp53 auto currentTime = Now(); in ElapsedUs() local
54 … return std::chrono::duration_cast<std::chrono::microseconds>(currentTime - startTime_).count(); in ElapsedUs()
Dprofiler_service_performance_test.cpp80 auto currentTime = Now(); in ElapsedUs() local
81 … return std::chrono::duration_cast<std::chrono::microseconds>(currentTime - startTime_).count(); in ElapsedUs()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/charts/
DChart.ets1445 // long currentTime = System.currentTimeMillis();
1499 // values.put(Images.Media.DATE_ADDED, currentTime);