/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/runtime/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 | 60 uint64_t NanoTime();
|
D | timing_logger.cc | 142 timings_.push_back(Timing(NanoTime(), label)); in StartTiming() 147 timings_.push_back(Timing(NanoTime(), nullptr)); in EndTiming()
|
D | time_utils.cc | 150 uint64_t NanoTime() { in NanoTime() function
|
D | mutex.cc | 149 start_nano_time_(kLogLockContentions ? NanoTime() : 0) { in ScopedContentionRecorder() 160 uint64_t end_nano_time = NanoTime(); in ~ScopedContentionRecorder()
|
/art/runtime/ |
D | barrier.cc | 68 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment() 73 uint64_t now = NanoTime(); in Increment()
|
D | thread_pool.cc | 168 start_time_ = NanoTime(); in StartWorkers() 196 const uint64_t wait_start = kMeasureWaitTime ? NanoTime() : 0; in GetTask() 199 const uint64_t wait_end = NanoTime(); in GetTask()
|
D | thread_list.cc | 361 const uint64_t start_time = NanoTime(); in RunCheckpoint() 365 const uint64_t total_delay = NanoTime() - start_time; in RunCheckpoint() 546 const uint64_t suspend_start_time = NanoTime(); in FlipThreadRoots() 554 suspend_all_historam_.AdjustAndAddValue(NanoTime() - suspend_start_time); in FlipThreadRoots() 557 collector->RegisterPause(NanoTime() - suspend_start_time); in FlipThreadRoots() 639 const uint64_t start_time = NanoTime(); in SuspendAll() 663 const uint64_t end_time = NanoTime(); in SuspendAll() 751 const uint64_t start_time = NanoTime(); in SuspendAllInternal() 762 << PrettyDuration(NanoTime() - start_time); in SuspendAllInternal() 894 const uint64_t start_time = NanoTime(); in SuspendThreadByPeer() [all …]
|
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()
|
/art/runtime/jit/ |
D | profile_saver.cc | 115 const uint64_t end_time = NanoTime() + MsToNs(options_.GetSaveResolvedClassesDelayMs()); in Run() 117 const uint64_t current_time = NanoTime(); in Run() 129 uint64_t sleep_start = NanoTime(); in Run() 135 sleep_time = NanoTime() - sleep_start; in Run() 150 sleep_time = NanoTime() - sleep_start; in Run() 159 total_ms_of_sleep_ += NsToMs(NanoTime() - sleep_start); in Run() 166 uint64_t start_work = NanoTime(); in Run() 176 total_ns_of_work_ += NanoTime() - start_work; in Run() 190 last_time_ns_saver_woke_up_ = NanoTime(); in WakeUpSaver() 202 if ((NanoTime() - last_time_ns_saver_woke_up_) > MsToNs(options_.GetMinSavePeriodMs())) { in NotifyJitActivityInternal() [all …]
|
D | profile_compilation_info.cc | 311 uint64_t start = NanoTime(); in Save() 423 uint64_t total_time = NanoTime() - start; in Save()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 90 uint64_t start_time = NanoTime(); in Run() 104 uint64_t end_time = NanoTime(); in Run() 168 : start_time_(NanoTime()), collector_(collector), with_reporting_(with_reporting) { in ScopedPause() 180 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 | 54 const uint64_t current_time = NanoTime(); in GetTask()
|
D | heap.cc | 266 last_time_homogeneous_space_compaction_by_oom_(NanoTime()), in Heap() 274 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration), in Heap() 796 uint64_t wait_start = NanoTime(); in IncrementDisableThreadFlip() 807 uint64_t wait_time = NanoTime() - wait_start; in IncrementDisableThreadFlip() 842 uint64_t wait_start = NanoTime(); in ThreadFlipBegin() 852 uint64_t wait_time = NanoTime() - wait_start; in ThreadFlipBegin() 1072 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration; in ResetGcPerformanceInfo() 1280 uint64_t start_time = NanoTime(); in Trim() 1283 << PrettyDuration(NanoTime() - start_time); in Trim() 1339 const uint64_t start_ns = NanoTime(); in TrimSpaces() [all …]
|
D | reference_processor.cc | 254 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
|
/art/compiler/jit/ |
D | jit_logger.cc | 241 header.time_stamp_ = art::NanoTime(); // CLOCK_MONOTONIC clock is required. in WriteJitDumpHeader() 278 jit_code.time_stamp_ = art::NanoTime(); // CLOCK_MONOTONIC clock is required. in WriteJitDumpLog()
|
/art/compiler/utils/ |
D | dedupe_set-inl.h | 192 hash_start = NanoTime(); 196 uint64_t hash_end = NanoTime();
|
/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 83 start_time = NanoTime(); in Create() 107 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
|
D | rosalloc_space.cc | 100 start_time = NanoTime(); in Create() 126 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
|
D | image_space.cc | 810 const uint64_t start = NanoTime(); in LoadImageFile() 818 const uint64_t time = NanoTime() - start; in LoadImageFile()
|
/art/profman/ |
D | profman.cc | 184 test_profile_seed_(NanoTime()), in ProfMan() 185 start_ns_(NanoTime()) {} in ProfMan() 1084 uint64_t time_taken = NanoTime() - start_ns_; in LogCompletionTime()
|
/art/compiler/optimizing/ |
D | scheduler.h | 386 seed_ = static_cast<uint32_t>(NanoTime()); in RandomSchedulingNodeSelector()
|
/art/runtime/hprof/ |
D | hprof.cc | 480 const uint64_t duration = NanoTime() - start_ns_; in Dump() 889 uint64_t start_ns_ = NanoTime();
|