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.h63 uint64_t NanoTime();
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()
Dtime_utils.cc178 uint64_t NanoTime() { in NanoTime() function
213 return NanoTime(); in ProcessCpuNanoTime()
/art/runtime/
Dbarrier.cc79 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
84 uint64_t now = NanoTime(); in Increment()
Dthread_pool.cc230 start_time_ = NanoTime(); in StartWorkers()
258 const uint64_t wait_start = kMeasureWaitTime ? NanoTime() : 0; in GetTask()
261 const uint64_t wait_end = NanoTime(); in GetTask()
Dthread_list.cc532 const uint64_t suspend_start_time = NanoTime(); in FlipThreadRoots()
540 suspend_all_historam_.AdjustAndAddValue(NanoTime() - suspend_start_time); in FlipThreadRoots()
543 collector->RegisterPause(NanoTime() - suspend_start_time); in FlipThreadRoots()
625 const uint64_t start_time = NanoTime(); in SuspendAll()
649 const uint64_t end_time = NanoTime(); in SuspendAll()
731 const uint64_t start_time = NanoTime(); in SuspendAllInternal()
743 const uint64_t wait_time = NanoTime() - start_time; in SuspendAllInternal()
889 const uint64_t start_time = NanoTime(); in SuspendThreadByPeer()
967 const uint64_t total_delay = NanoTime() - start_time; in SuspendThreadByPeer()
1009 const uint64_t start_time = NanoTime(); in SuspendThreadByThreadId()
[all …]
/art/runtime/jit/
Dprofile_saver.cc138 const uint64_t end_time = NanoTime() + MsToNs(options_.GetSaveResolvedClassesDelayMs()); in Run()
140 const uint64_t current_time = NanoTime(); in Run()
160 uint64_t sleep_start = NanoTime(); in Run()
173 sleep_time = NanoTime() - sleep_start; in Run()
188 sleep_time = NanoTime() - sleep_start; in Run()
197 total_ms_of_sleep_ += NsToMs(NanoTime() - sleep_start); in Run()
204 uint64_t start_work = NanoTime(); in Run()
214 total_ns_of_work_ += NanoTime() - start_work; in Run()
228 last_time_ns_saver_woke_up_ = NanoTime(); in WakeUpSaver()
240 if ((NanoTime() - last_time_ns_saver_woke_up_) > MsToNs(options_.GetMinSavePeriodMs())) { in NotifyJitActivityInternal()
[all …]
/art/runtime/gc/collector/
Dgarbage_collector.cc149 uint64_t start_time = NanoTime(); in Run()
169 uint64_t end_time = NanoTime(); in Run()
229 : start_time_(NanoTime()), collector_(collector), with_reporting_(with_reporting) { in ScopedPause()
241 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.cc59 const uint64_t current_time = NanoTime(); in GetTask()
Dheap.cc335 last_time_homogeneous_space_compaction_by_oom_(NanoTime()), in Heap()
344 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration), in Heap()
908 wait_start = NanoTime(); in IncrementDisableThreadFlip()
917 uint64_t wait_time = NanoTime() - wait_start; in IncrementDisableThreadFlip()
953 uint64_t wait_start = NanoTime(); in ThreadFlipBegin()
963 uint64_t wait_time = NanoTime() - wait_start; in ThreadFlipBegin()
1232 (NanoTime() / kGcCountRateHistogramWindowDuration) * kGcCountRateHistogramWindowDuration; in ResetGcPerformanceInfo()
1445 uint64_t start_time = NanoTime(); in Trim()
1448 << PrettyDuration(NanoTime() - start_time); in Trim()
1504 const uint64_t start_ns = NanoTime(); in TrimSpaces()
[all …]
Dreference_processor.cc279 : HeapTask(NanoTime()), cleared_references_(cleared_references) { in ClearedReferenceTask()
/art/compiler/jit/
Djit_compiler.cc191 uint64_t start_ns = NanoTime(); in CompileMethod()
194 uint64_t duration_ns = NanoTime() - start_ns; in CompileMethod()
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/compiler/utils/
Ddedupe_set-inl.h193 hash_start = NanoTime();
197 uint64_t hash_end = NanoTime();
/art/runtime/verifier/
Dclass_verifier.cc247 start_ns = NanoTime(); in VerifyClass()
310 VLOG(verifier) << "VerifyClass took " << PrettyDuration(NanoTime() - start_ns) in VerifyClass()
/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/runtime/base/
Dtiming_logger.h99 time_ = NanoTime(); in Timing()
/art/runtime/gc/space/
Ddlmalloc_space.cc118 start_time = NanoTime(); in Create()
145 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()
/art/dexlayout/
Dcompact_dex_writer.cc90 uint64_t start_time = NanoTime(); in WriteDebugInfoOffsetTable()
99 uint64_t end_time = NanoTime(); in WriteDebugInfoOffsetTable()
/art/compiler/optimizing/
Dscheduler.h457 seed_ = static_cast<uint32_t>(NanoTime()); in RandomSchedulingNodeSelector()
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc405 std::srand(static_cast<uint32_t>(NanoTime())); in ZygoteHooks_nativePostForkChild()

12