/art/test/149-suspend-all-stress/ |
D | suspend_all.cc | 34 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/ |
D | time_utils_test.cc | 53 auto start = NanoTime(); in TEST() 55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
|
D | time_utils.h | 62 uint64_t NanoTime();
|
D | leb128_test.cc | 280 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()
|
D | time_utils.cc | 171 uint64_t NanoTime() { in NanoTime() function 206 return NanoTime(); in ProcessCpuNanoTime()
|
/art/runtime/ |
D | barrier.cc | 79 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment() 84 uint64_t now = NanoTime(); in Increment()
|
D | thread_pool.cc | 204 start_time_ = NanoTime(); in StartWorkers() 232 const uint64_t wait_start = kMeasureWaitTime ? NanoTime() : 0; in GetTask() 235 const uint64_t wait_end = NanoTime(); in GetTask()
|
D | thread_list.cc | 375 const uint64_t start_time = NanoTime(); in RunCheckpoint() 379 const uint64_t total_delay = NanoTime() - start_time; in RunCheckpoint() 531 const uint64_t suspend_start_time = NanoTime(); in FlipThreadRoots() 539 suspend_all_historam_.AdjustAndAddValue(NanoTime() - suspend_start_time); in FlipThreadRoots() 542 collector->RegisterPause(NanoTime() - suspend_start_time); in FlipThreadRoots() 624 const uint64_t start_time = NanoTime(); in SuspendAll() 648 const uint64_t end_time = NanoTime(); in SuspendAll() 736 const uint64_t start_time = NanoTime(); in SuspendAllInternal() 748 const uint64_t wait_time = NanoTime() - start_time; in SuspendAllInternal() 894 const uint64_t start_time = NanoTime(); in SuspendThreadByPeer() [all …]
|
/art/runtime/jit/ |
D | profile_saver.cc | 132 const uint64_t end_time = NanoTime() + MsToNs(options_.GetSaveResolvedClassesDelayMs()); in Run() 134 const uint64_t current_time = NanoTime(); in Run() 154 uint64_t sleep_start = NanoTime(); in Run() 167 sleep_time = NanoTime() - sleep_start; in Run() 182 sleep_time = NanoTime() - sleep_start; in Run() 191 total_ms_of_sleep_ += NsToMs(NanoTime() - sleep_start); in Run() 198 uint64_t start_work = NanoTime(); in Run() 208 total_ns_of_work_ += NanoTime() - start_work; in Run() 222 last_time_ns_saver_woke_up_ = NanoTime(); in WakeUpSaver() 234 if ((NanoTime() - last_time_ns_saver_woke_up_) > MsToNs(options_.GetMinSavePeriodMs())) { in NotifyJitActivityInternal() [all …]
|
D | debugger_interface.cc | 178 uint64_t timestamp = std::max(descriptor.action_timestamp_ + 1, NanoTime()); in CreateJITCodeEntryInternal() 214 uint64_t timestamp = std::max(descriptor.action_timestamp_ + 1, NanoTime()); in DeleteJITCodeEntryInternal()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 149 uint64_t start_time = NanoTime(); in Run() 169 uint64_t end_time = NanoTime(); in Run() 238 : start_time_(NanoTime()), collector_(collector), with_reporting_(with_reporting) { in ScopedPause() 250 collector_->RegisterPause(NanoTime() - start_time_); in ~ScopedPause()
|
/art/runtime/gc/ |
D | task_processor_test.cc | 33 : HeapTask(NanoTime() + MsToNs(10)), task_processor_(task_processor), counter_(counter), in RecursiveTask() 120 const uint64_t current_time = NanoTime(); in TEST_F()
|
D | task_processor.cc | 59 const uint64_t current_time = NanoTime(); in GetTask()
|
D | heap.cc | 291 last_time_homogeneous_space_compaction_by_oom_(NanoTime()), in Heap() 300 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration), in Heap() 899 uint64_t wait_start = NanoTime(); in IncrementDisableThreadFlip() 909 uint64_t wait_time = NanoTime() - wait_start; in IncrementDisableThreadFlip() 945 uint64_t wait_start = NanoTime(); in ThreadFlipBegin() 955 uint64_t wait_time = NanoTime() - wait_start; in ThreadFlipBegin() 1217 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration; in ResetGcPerformanceInfo() 1425 uint64_t start_time = NanoTime(); in Trim() 1428 << PrettyDuration(NanoTime() - start_time); in Trim() 1484 const uint64_t start_ns = NanoTime(); in TrimSpaces() [all …]
|
D | reference_processor.cc | 279 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 200 uint64_t start_ns = NanoTime(); in CompileMethod() 202 uint64_t duration_ns = NanoTime() - start_ns; in CompileMethod()
|
D | jit_logger.cc | 240 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/compiler/utils/ |
D | dedupe_set-inl.h | 193 hash_start = NanoTime(); 197 uint64_t hash_end = NanoTime();
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 503 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/runtime/base/ |
D | timing_logger.h | 99 time_ = NanoTime(); in Timing()
|
/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 118 start_time = NanoTime(); in Create() 145 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
|
D | rosalloc_space.cc | 144 start_time = NanoTime(); in Create() 173 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
|
/art/dexlayout/ |
D | compact_dex_writer.cc | 90 uint64_t start_time = NanoTime(); in WriteDebugInfoOffsetTable() 99 uint64_t end_time = NanoTime(); in WriteDebugInfoOffsetTable()
|
/art/compiler/optimizing/ |
D | scheduler.h | 389 seed_ = static_cast<uint32_t>(NanoTime()); in RandomSchedulingNodeSelector()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 385 std::srand(static_cast<uint32_t>(NanoTime())); in ZygoteHooks_nativePostForkChild()
|