Home
last modified time | relevance | path

Searched refs:GetSystemClock (Results 1 – 9 of 9) 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/SimpleperfExampleWithNative/app/src/main/cpp/
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()
/system/extras/simpleperf/
DInplaceSamplerClient.cpp58 uint64_t timeout = GetSystemClock() + 10000000000ull; in ConnectServer()
59 while (GetSystemClock() < timeout) { in ConnectServer()
Dinplace_sampler_lib.cpp204 uint64_t timestamp = GetSystemClock(); in CheckThreads()
316 MoveToBinaryFormat(GetSystemClock(), p); in SendFakeSampleRecord()
Denvironment.h88 static inline uint64_t GetSystemClock() { in GetSystemClock() function
DOfflineUnwinder.cpp191 start_time = GetSystemClock(); in UnwindCallChain()
256 unwinding_result_.used_time = GetSystemClock() - start_time; in UnwindCallChain()
Dcmd_record.cpp381 time_stat_.prepare_recording_time = GetSystemClock(); in Run()
385 time_stat_.start_recording_time = GetSystemClock(); in Run()
567 time_stat_.stop_recording_time = GetSystemClock(); in DoRecording()
571 time_stat_.finish_recording_time = GetSystemClock(); in DoRecording()
623 time_stat_.post_process_time = GetSystemClock(); in PostProcessRecording()
Devent_selection_set.cpp646 start_time_in_ns = GetSystemClock(); in ReadMmapEventData()
653 if (with_time_limit && (GetSystemClock() - start_time_in_ns) >= 1e8) { in ReadMmapEventData()
Dcmd_record_test.cpp534 uint64_t start_time_in_ns = GetSystemClock(); in TEST()
537 uint64_t end_time_in_ns = GetSystemClock(); in TEST()