/aosp12/system/testing/gtest_extras/ |
H A D | Test.cpp | 46 start_ns_(NanoTime()) {} in Test() 49 end_ns_ = NanoTime(); in Stop() 105 uint64_t start_ns = NanoTime(); in ReadUntilClosed() 111 if (NanoTime() - start_ns > 2 * kNsPerS) { in ReadUntilClosed()
|
H A D | NanoTime.h | 27 uint64_t NanoTime();
|
H A D | NanoTime.cpp | 26 uint64_t NanoTime() { in NanoTime() function
|
H A D | Isolate.cpp | 398 if (NanoTime() > test->start_ns() + deadline_threshold_ns_) { in CheckTestsTimeout() 404 } else if (!test->slow() && NanoTime() > test->start_ns() + slow_threshold_ns_) { in CheckTestsTimeout() 423 uint64_t run_time_ms = (NanoTime() - test->start_ns()) / kNsPerMs; in HandleSignals() 799 uint64_t time_ns = NanoTime(); in Run() 801 time_ns = NanoTime() - time_ns; in Run()
|
H A D | Android.bp | 29 "NanoTime.cpp",
|
/aosp12/bionic/tests/ |
H A D | system_properties_test2.cpp | 31 int64_t NanoTime() { in NanoTime() function 50 ss << "debug.test." << getpid() << "." << NanoTime() << "."; in TEST() 137 ss << "debug.test." << getpid() << "." << NanoTime() << "."; in TEST() 161 ss << "debug.test." << getpid() << "." << NanoTime() << "." << "property_empty"; in TEST()
|
/aosp12/art/test/149-suspend-all-stress/ |
H A 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()
|
/aosp12/art/libartbase/base/ |
H A D | time_utils_test.cc | 53 auto start = NanoTime(); in TEST() 55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
|
H A 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()
|
H A D | time_utils.cc | 183 uint64_t NanoTime() { in NanoTime() function 218 return NanoTime(); in ProcessCpuNanoTime()
|
H A D | time_utils.h | 67 uint64_t NanoTime();
|
/aosp12/art/runtime/jit/ |
H A D | profile_saver.cc | 139 const uint64_t end_time = NanoTime() + MsToNs(force_early_first_save in Run() 143 const uint64_t current_time = NanoTime(); in Run() 170 uint64_t sleep_start = NanoTime(); in Run() 182 sleep_time = NanoTime() - sleep_start; in Run() 197 sleep_time = NanoTime() - sleep_start; in Run() 205 total_ms_of_sleep_ += NsToMs(NanoTime() - sleep_start); in Run() 213 uint64_t start_work = NanoTime(); in Run() 232 total_ns_of_work_ += NanoTime() - start_work; in Run() 293 last_time_ns_saver_woke_up_ = NanoTime(); in WakeUpSaver() 757 const uint64_t start_time = NanoTime(); in FetchAndCacheResolvedClassesAndMethods() [all …]
|
/aosp12/system/unwinding/libbacktrace/ |
H A D | backtrace_test.cpp | 117 static uint64_t NanoTime() { in NanoTime() function 136 uint64_t start = NanoTime(); in WaitForStop() 140 if ((NanoTime() - start) > NS_PER_SEC) { in WaitForStop() 263 uint64_t start = NanoTime(); in WaitForNonZero() 396 uint64_t start = NanoTime(); in VerifyProcTest() 522 uint64_t start = NanoTime(); in TEST_F() 1153 uint64_t start = NanoTime(); in TEST_F() 1310 uint64_t start = NanoTime(); in TEST_F() 1460 uint64_t start = NanoTime(); in TEST_F() 1740 uint64_t start = NanoTime(); in UnwindThroughSignal() [all …]
|
/aosp12/art/runtime/ |
H A D | barrier.cc | 79 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment() 84 uint64_t now = NanoTime(); in Increment()
|
H A D | thread_list.cc | 523 const uint64_t suspend_start_time = NanoTime(); in FlipThreadRoots() 531 suspend_all_historam_.AdjustAndAddValue(NanoTime() - suspend_start_time); in FlipThreadRoots() 534 collector->RegisterPause(NanoTime() - suspend_start_time); in FlipThreadRoots() 616 const uint64_t start_time = NanoTime(); in SuspendAll() 640 const uint64_t end_time = NanoTime(); in SuspendAll() 722 const uint64_t start_time = NanoTime(); in SuspendAllInternal() 734 const uint64_t wait_time = NanoTime() - start_time; in SuspendAllInternal() 880 const uint64_t start_time = NanoTime(); in SuspendThreadByPeer() 960 const uint64_t total_delay = NanoTime() - start_time; in SuspendThreadByPeer() 1004 const uint64_t start_time = NanoTime(); in SuspendThreadByThreadId() [all …]
|
H A D | thread_pool.cc | 240 start_time_ = NanoTime(); in StartWorkers() 268 const uint64_t wait_start = kMeasureWaitTime ? NanoTime() : 0; in GetTask() 271 const uint64_t wait_end = NanoTime(); in GetTask()
|
/aosp12/art/runtime/gc/collector/ |
H A D | garbage_collector.cc | 159 uint64_t start_time = NanoTime(); in Run() 180 uint64_t end_time = NanoTime(); in Run() 266 : start_time_(NanoTime()), collector_(collector), with_reporting_(with_reporting) { in ScopedPause() 278 collector_->RegisterPause(NanoTime() - start_time_); in ~ScopedPause()
|
/aosp12/art/runtime/gc/ |
H A 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()
|
H A D | heap.cc | 955 wait_start = NanoTime(); in IncrementDisableThreadFlip() 1000 uint64_t wait_start = NanoTime(); in ThreadFlipBegin() 1501 uint64_t start_time = NanoTime(); in Trim() 1560 const uint64_t start_ns = NanoTime(); in TrimSpaces() 1591 uint64_t gc_heap_end_ns = NanoTime(); in TrimSpaces() 1904 const uint64_t current_time = NanoTime(); in AllocateInternalWithGc() 2090 uint64_t start_time = NanoTime(); in PerformHomogeneousSpaceCompact() 2108 uint64_t duration = NanoTime() - start_time; in PerformHomogeneousSpaceCompact() 2791 uint64_t now = NanoTime(); in UpdateGcCountRateHistograms() 3459 uint64_t wait_start = NanoTime(); in WaitForGcToCompleteLocked() [all …]
|
H A D | task_processor.cc | 59 const uint64_t current_time = NanoTime(); in GetTask()
|
/aosp12/art/compiler/jit/ |
H A 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()
|
/aosp12/art/tools/dexanalyze/ |
H A 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()
|
/aosp12/art/compiler/utils/ |
H A D | dedupe_set-inl.h | 193 hash_start = NanoTime(); 197 uint64_t hash_end = NanoTime();
|
/aosp12/system/testing/gtest_extras/tests/ |
H A D | SystemTests.cpp | 846 uint64_t time_ns = NanoTime(); in TEST_F() 849 time_ns = NanoTime() - time_ns; in TEST_F() 867 uint64_t time_ns = NanoTime(); in TEST_F() 879 uint64_t test_ns = NanoTime() - time_ns; in TEST_F() 902 time_ns = NanoTime() - time_ns; in TEST_F()
|
/aosp12/art/runtime/gc/space/ |
H A D | dlmalloc_space.cc | 118 start_time = NanoTime(); in Create() 145 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
|