Home
last modified time | relevance | path

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

/aosp12/system/extras/simpleperf/runtest/
H A 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()
/aosp12/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
H A Dnative-lib.cpp64 static inline uint64_t GetSystemClock() { in GetSystemClock() function
72 uint64_t start_time_in_ns = GetSystemClock(); in RunFunction()
75 return GetSystemClock() - start_time_in_ns; in RunFunction()
79 uint64_t start_time_in_ns = GetSystemClock(); in SleepFunction()
84 return GetSystemClock() - start_time_in_ns; in SleepFunction()
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dclock_ns.h14 static inline timespec GetSystemClock() { in GetSystemClock() function
27 timespec t = GetSystemClock(); in GetSystemClockNs()
/aosp12/system/extras/simpleperf/
H A DOfflineUnwinder.cpp247 start_time = GetSystemClock(); in UnwindCallChain()
311 unwinding_result_.used_time = GetSystemClock() - start_time; in UnwindCallChain()
H A Denvironment.h138 static inline uint64_t GetSystemClock() { in GetSystemClock() function
H A Dcmd_record.cpp441 time_stat_.prepare_recording_time = GetSystemClock(); in Run()
490 time_stat_.start_recording_time = GetSystemClock(); in Run()
681 time_stat_.stop_recording_time = GetSystemClock(); in DoRecording()
685 time_stat_.finish_recording_time = GetSystemClock(); in DoRecording()
745 time_stat_.post_process_time = GetSystemClock(); in PostProcessRecording()
H A Devent_selection_set.cpp773 start_time_in_ns = GetSystemClock(); in ReadMmapEventData()
780 if (with_time_limit && (GetSystemClock() - start_time_in_ns) >= 1e8) { in ReadMmapEventData()
H A Dcmd_record_test.cpp476 uint64_t start_time_in_ns = GetSystemClock(); in TEST()
480 uint64_t end_time_in_ns = GetSystemClock(); in TEST()