Home
last modified time | relevance | path

Searched refs:total_run_time_in_ns (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/runtest/
Drun_and_sleep.cpp34 uint64_t total_run_time_in_ns = 0; in GlobalFunction() local
36 total_run_time_in_ns += RunFunction(); in GlobalFunction()
37 if (total_sleep_time_in_ns < total_run_time_in_ns) { in GlobalFunction()
38 total_sleep_time_in_ns += SleepFunction(total_run_time_in_ns - total_sleep_time_in_ns); in GlobalFunction()
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
Dnative-lib.cpp90 uint64_t total_run_time_in_ns = 0; in SleepThread() local
92 total_run_time_in_ns += RunFunction(); in SleepThread()
93 if (total_sleep_time_in_ns < total_run_time_in_ns) { in SleepThread()
94 total_sleep_time_in_ns += SleepFunction(total_run_time_in_ns - total_sleep_time_in_ns); in SleepThread()