Home
last modified time | relevance | path

Searched refs:NanoTime (Results 1 – 25 of 27) sorted by relevance

12

/art/runtime/base/
Dtime_utils_test.cc53 auto start = NanoTime(); in TEST()
55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
Dtime_utils.h60 uint64_t NanoTime();
Dtiming_logger.cc140 timings_.push_back(Timing(NanoTime(), label)); in StartTiming()
145 timings_.push_back(Timing(NanoTime(), nullptr)); in EndTiming()
Dtime_utils.cc147 uint64_t NanoTime() { in NanoTime() function
Dmutex.cc123 start_nano_time_(kLogLockContentions ? NanoTime() : 0) { in ScopedContentionRecorder()
134 uint64_t end_nano_time = NanoTime(); in ~ScopedContentionRecorder()
/art/runtime/jit/
Dprofile_saver.cc90 const uint64_t end_time = NanoTime() + MsToNs(kSleepTime); in Run()
92 const uint64_t current_time = NanoTime(); in Run()
104 uint64_t sleep_start = NanoTime(); in Run()
110 sleep_time = NanoTime() - sleep_start; in Run()
124 sleep_time = NanoTime() - sleep_start; in Run()
133 total_ms_of_sleep_ += NsToMs(NanoTime() - sleep_start); in Run()
140 uint64_t start_work = NanoTime(); in Run()
149 total_ns_of_work_ += NanoTime() - start_work; in Run()
163 last_time_ns_saver_woke_up_ = NanoTime(); in WakeUpSaver()
175 if ((NanoTime() - last_time_ns_saver_woke_up_) > kMinSavePeriodNs) { in NotifyJitActivityInternal()
Djit_code_cache.cc366 last_update_time_ns_.StoreRelease(NanoTime()); in CommitCodeInternal()
/art/runtime/
Dbarrier.cc68 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
73 uint64_t now = NanoTime(); in Increment()
Dthread_pool.cc156 start_time_ = NanoTime(); in StartWorkers()
184 const uint64_t wait_start = kMeasureWaitTime ? NanoTime() : 0; in GetTask()
187 const uint64_t wait_end = NanoTime(); in GetTask()
Dleb128_test.cc280 uint64_t last_time = NanoTime(); in TEST()
285 uint64_t cur_time = NanoTime(); in TEST()
291 last_time = NanoTime(); in TEST()
296 uint64_t cur_time = NanoTime(); in TEST()
Dthread_list.cc329 const uint64_t start_time = NanoTime(); in RunCheckpoint()
333 const uint64_t total_delay = NanoTime() - start_time; in RunCheckpoint()
396 const uint64_t start_time = NanoTime(); in FlipThreadRoots()
409 collector->RegisterPause(NanoTime() - start_time); in FlipThreadRoots()
474 const uint64_t start_time = NanoTime(); in SuspendAll()
496 const uint64_t end_time = NanoTime(); in SuspendAll()
733 const uint64_t start_time = NanoTime(); in SuspendThreadByPeer()
803 const uint64_t total_delay = NanoTime() - start_time; in SuspendThreadByPeer()
838 const uint64_t start_time = NanoTime(); in SuspendThreadByThreadId()
904 const uint64_t total_delay = NanoTime() - start_time; in SuspendThreadByThreadId()
Dclass_linker.cc1566 const uint64_t start_time = NanoTime(); in AddImageSpace()
1756 const uint64_t start_time2 = NanoTime(); in AddImageSpace()
1764 VLOG(image) << "Adding class table classes took " << PrettyDuration(NanoTime() - start_time2); in AddImageSpace()
1813 VLOG(class_linker) << "Adding image space took " << PrettyDuration(NanoTime() - start_time); in AddImageSpace()
4542 t0 = NanoTime(); in InitializeClass()
4653 uint64_t t1 = NanoTime(); in InitializeClass()
8041 const uint64_t start_time = NanoTime(); in GetResolvedClasses()
8101 VLOG(class_linker) << "Collecting class profile took " << PrettyDuration(NanoTime() - start_time); in GetResolvedClasses()
/art/runtime/gc/collector/
Dgarbage_collector.cc84 uint64_t start_time = NanoTime(); in Run()
95 uint64_t end_time = NanoTime(); in Run()
158 : start_time_(NanoTime()), collector_(collector) { in ScopedPause()
163 collector_->RegisterPause(NanoTime() - start_time_); in ~ScopedPause()
/art/runtime/gc/
Dtask_processor_test.cc33 : HeapTask(NanoTime() + MsToNs(10)), task_processor_(task_processor), counter_(counter), in RecursiveTask()
120 const uint64_t current_time = NanoTime(); in TEST_F()
Dtask_processor.cc54 const uint64_t current_time = NanoTime(); in GetTask()
Dheap.cc232 last_time_homogeneous_space_compaction_by_oom_(NanoTime()), in Heap()
240 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration), in Heap()
867 uint64_t wait_start = NanoTime(); in IncrementDisableThreadFlip()
874 uint64_t wait_time = NanoTime() - wait_start; in IncrementDisableThreadFlip()
909 uint64_t wait_start = NanoTime(); in ThreadFlipBegin()
919 uint64_t wait_time = NanoTime() - wait_start; in ThreadFlipBegin()
1224 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration; in ResetGcPerformanceInfo()
1382 uint64_t start_time = NanoTime(); in Trim()
1385 << PrettyDuration(NanoTime() - start_time); in Trim()
1441 const uint64_t start_ns = NanoTime(); in TrimSpaces()
[all …]
Dreference_processor.cc224 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
/art/compiler/utils/
Ddedupe_set-inl.h191 hash_start = NanoTime();
195 uint64_t hash_end = NanoTime();
/art/profman/
Dprofman.cc120 start_ns_(NanoTime()) {} in ProfMan()
337 uint64_t time_taken = NanoTime() - start_ns_; in LogCompletionTime()
/art/runtime/gc/space/
Ddlmalloc_space.cc82 start_time = NanoTime(); in Create()
106 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Drosalloc_space.cc99 start_time = NanoTime(); in Create()
125 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Dimage_space.cc1293 const uint64_t start = NanoTime(); in Init()
1301 VLOG(image) << "Decompressing image took " << PrettyDuration(NanoTime() - start); in Init()
/art/runtime/hprof/
Dhprof.cc460 const uint64_t duration = NanoTime() - start_ns_; in Dump()
865 uint64_t start_ns_ = NanoTime();
/art/dex2oat/
Ddex2oat.cc509 start_ns_(NanoTime()), in Dex2Oat()
2390 LOG(INFO) << "dex2oat took " << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
/art/compiler/
Dimage_writer.cc228 const uint64_t compress_start_time = NanoTime(); in Write()
270 << PrettyDuration(NanoTime() - compress_start_time); in Write()

12