Home
last modified time | relevance | path

Searched refs:GetSystemClock (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/runtest/
Drun_and_sleep.cpp8 static inline uint64_t GetSystemClock() { in GetSystemClock() function
17 uint64_t start_time_in_ns = GetSystemClock(); in RunFunction()
20 return GetSystemClock() - start_time_in_ns; in RunFunction()
24 uint64_t start_time_in_ns = GetSystemClock(); in SleepFunction()
29 return GetSystemClock() - start_time_in_ns; in SleepFunction()
/system/extras/simpleperf/demo/SimpleperfExampleCpp/app/src/main/cpp/
Dnative-lib.cpp61 static inline uint64_t GetSystemClock() { in GetSystemClock() function
69 uint64_t start_time_in_ns = GetSystemClock(); in RunFunction()
72 return GetSystemClock() - start_time_in_ns; in RunFunction()
76 uint64_t start_time_in_ns = GetSystemClock(); in SleepFunction()
81 return GetSystemClock() - start_time_in_ns; in SleepFunction()
/system/extras/simpleperf/
Denvironment.h139 static inline uint64_t GetSystemClock() { in GetSystemClock() function
DOfflineUnwinder.cpp291 start_time = GetSystemClock(); in UnwindCallChain()
355 unwinding_result_.used_time = GetSystemClock() - start_time; in UnwindCallChain()
Dcmd_record.cpp512 time_stat_.prepare_recording_time = GetSystemClock(); in Run()
559 time_stat_.start_recording_time = GetSystemClock(); in Run()
811 time_stat_.stop_recording_time = GetSystemClock(); in DoRecording()
822 time_stat_.finish_recording_time = GetSystemClock(); in DoRecording()
889 time_stat_.post_process_time = GetSystemClock(); in PostProcessRecording()
Devent_selection_set.cpp880 start_time_in_ns = GetSystemClock(); in ReadMmapEventData()
887 if (with_time_limit && (GetSystemClock() - start_time_in_ns) >= 1e8) { in ReadMmapEventData()
Dcmd_record_test.cpp526 uint64_t start_time_in_ns = GetSystemClock(); in TEST()
530 uint64_t end_time_in_ns = GetSystemClock(); in TEST()