Home
last modified time | relevance | path

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

12

/art/test/149-suspend-all-stress/
Dsuspend_all.cc34 const uint64_t start_time = NanoTime(); in Java_Main_suspendAndResume()
37 while (NanoTime() - start_time < MsToNs(10 * 1000)) { in Java_Main_suspendAndResume()
/art/libartbase/base/
Dtime_utils_test.cc53 auto start = NanoTime(); in TEST()
55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
Dtime_utils.h67 uint64_t NanoTime();
Dtime_utils.cc179 uint64_t NanoTime() { in NanoTime() function
214 return NanoTime(); in ProcessCpuNanoTime()
Dleb128_test.cc424 uint64_t last_time = NanoTime(); in TEST()
429 uint64_t cur_time = NanoTime(); in TEST()
435 last_time = NanoTime(); in TEST()
440 uint64_t cur_time = NanoTime(); in TEST()
/art/runtime/
Dbarrier.cc84 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
89 uint64_t now = NanoTime(); in Increment()
Dthread_pool.cc264 start_time_ = NanoTime(); in StartWorkers()
297 const uint64_t wait_start = kMeasureWaitTime ? NanoTime() : 0; in GetTask()
300 const uint64_t wait_end = NanoTime(); in GetTask()
Dthread_list.cc554 const uint64_t suspend_start_time = NanoTime(); in FlipThreadRoots()
575 suspend_all_histogram_.AdjustAndAddValue(NanoTime() - suspend_start_time); in FlipThreadRoots()
616 collector->RegisterPause(NanoTime() - suspend_start_time); in FlipThreadRoots()
716 const uint64_t start_time = NanoTime(); in WaitForSuspendBarrier()
753 CHECK_GE(NanoTime() - start_time, i * timeout_ns / kSuspendBarrierIters - 1'000'000); in WaitForSuspendBarrier()
765 " Final wait time: " + PrettyDuration(NanoTime() - start_time) : in WaitForSuspendBarrier()
779 const uint64_t start_time = NanoTime(); in SuspendAll()
803 const uint64_t end_time = NanoTime(); in SuspendAll()
Dsignal_catcher.cc123 sigquit_nanotime_ = NanoTime(); in HandleSigQuit()
/art/runtime/jit/
Dprofile_saver.cc142 const uint64_t start_time = NanoTime(); in Run()
145 const uint64_t current_time = NanoTime(); in Run()
151 total_ms_of_sleep_ += NsToMs(NanoTime() - start_time); in Run()
169 uint64_t sleep_start = NanoTime(); in Run()
181 sleep_time = NanoTime() - sleep_start; in Run()
196 sleep_time = NanoTime() - sleep_start; in Run()
204 total_ms_of_sleep_ += NsToMs(NanoTime() - sleep_start); in Run()
212 uint64_t start_work = NanoTime(); in Run()
231 total_ns_of_work_ += NanoTime() - start_work; in Run()
292 last_time_ns_saver_woke_up_ = NanoTime(); in WakeUpSaver()
[all …]
/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.cc59 const uint64_t current_time = NanoTime(); in GetTask()
Dheap.cc407 last_time_homogeneous_space_compaction_by_oom_(NanoTime()), in Heap()
418 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration), in Heap()
1020 wait_start = NanoTime(); in IncrementDisableThreadFlip()
1029 uint64_t wait_time = NanoTime() - wait_start; in IncrementDisableThreadFlip()
1077 uint64_t wait_start = NanoTime(); in ThreadFlipBegin()
1087 uint64_t wait_time = NanoTime() - wait_start; in ThreadFlipBegin()
1360 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration; in ResetGcPerformanceInfo()
1605 uint64_t start_time = NanoTime(); in Trim()
1608 << PrettyDuration(NanoTime() - start_time); in Trim()
1700 const uint64_t start_ns = NanoTime(); in TrimSpaces()
[all …]
Dreference_processor.cc362 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
/art/runtime/gc/collector/
Dgarbage_collector.cc197 uint64_t start_time = NanoTime(); in Run()
218 uint64_t end_time = NanoTime(); in Run()
324 : start_time_(NanoTime()), collector_(collector), with_reporting_(with_reporting) { in ScopedPause()
336 collector_->RegisterPause(NanoTime() - start_time_); in ~ScopedPause()
/art/compiler/jit/
Djit_logger.cc240 header.time_stamp_ = art::NanoTime(); // CLOCK_MONOTONIC clock is required. in WriteJitDumpHeader()
277 jit_code.time_stamp_ = art::NanoTime(); // CLOCK_MONOTONIC clock is required. in WriteJitDumpLog()
/art/tools/dexanalyze/
Ddexanalyze_strings.cc503 uint64_t start = NanoTime(); in Benchmark()
513 timings->time_equal_comparisons_ += NanoTime() - start; in Benchmark()
515 start = NanoTime(); in Benchmark()
526 timings->time_non_equal_comparisons_ += NanoTime() - start; in Benchmark()
/art/compiler/utils/
Ddedupe_set-inl.h199 hash_start = NanoTime();
203 uint64_t hash_end = NanoTime();
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc354 runtime->GetHeap()->AddHeapTask(new StartupCompletedTask(NanoTime() + kMaxAppStartupTimeNs)); in ZygoteHooks_nativePostForkChild()
424 std::srand(static_cast<uint32_t>(NanoTime())); in ZygoteHooks_nativePostForkChild()
/art/runtime/base/
Dtiming_logger.h106 time_ = NanoTime(); in Timing()
/art/runtime/oat/
Dimage.cc286 const uint64_t compress_start_time = NanoTime(); in CompressData()
313 << PrettyDuration(NanoTime() - compress_start_time); in CompressData()
/art/runtime/gc/space/
Ddlmalloc_space.cc168 start_time = NanoTime(); in Create()
195 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Drosalloc_space.cc144 start_time = NanoTime(); in Create()
173 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Dregion_space.cc498 uint64_t start_time = NanoTime(); in ClearFromSpace()
502 madvise_time_ += NanoTime() - start_time; in ClearFromSpace()
/art/compiler/optimizing/
Dscheduler.h458 seed_ = static_cast<uint32_t>(NanoTime()); in RandomSchedulingNodeSelector()

12