Home
last modified time | relevance | path

Searched refs:NanoTime (Results 1 – 25 of 32) 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/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.cc142 timings_.push_back(Timing(NanoTime(), label)); in StartTiming()
147 timings_.push_back(Timing(NanoTime(), nullptr)); in EndTiming()
Dtime_utils.cc150 uint64_t NanoTime() { in NanoTime() function
Dmutex.cc149 start_nano_time_(kLogLockContentions ? NanoTime() : 0) { in ScopedContentionRecorder()
160 uint64_t end_nano_time = NanoTime(); in ~ScopedContentionRecorder()
/art/runtime/
Dbarrier.cc68 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
73 uint64_t now = NanoTime(); in Increment()
Dthread_pool.cc168 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()
Dthread_list.cc361 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 …]
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()
/art/runtime/jit/
Dprofile_saver.cc115 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 …]
Dprofile_compilation_info.cc311 uint64_t start = NanoTime(); in Save()
423 uint64_t total_time = NanoTime() - start; in Save()
/art/runtime/gc/collector/
Dgarbage_collector.cc90 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/
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.cc266 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 …]
Dreference_processor.cc254 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
/art/compiler/jit/
Djit_logger.cc241 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/
Ddedupe_set-inl.h192 hash_start = NanoTime();
196 uint64_t hash_end = NanoTime();
/art/runtime/gc/space/
Ddlmalloc_space.cc83 start_time = NanoTime(); in Create()
107 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Drosalloc_space.cc100 start_time = NanoTime(); in Create()
126 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Dimage_space.cc810 const uint64_t start = NanoTime(); in LoadImageFile()
818 const uint64_t time = NanoTime() - start; in LoadImageFile()
/art/profman/
Dprofman.cc184 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/
Dscheduler.h386 seed_ = static_cast<uint32_t>(NanoTime()); in RandomSchedulingNodeSelector()
/art/runtime/hprof/
Dhprof.cc480 const uint64_t duration = NanoTime() - start_ns_; in Dump()
889 uint64_t start_ns_ = NanoTime();

12