Home
last modified time | relevance | path

Searched refs:SleepFunction (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/runtest/
Drun_and_sleep.cpp23 uint64_t noinline SleepFunction(unsigned long long sleep_time_in_ns) { in SleepFunction() function
38 total_sleep_time_in_ns += SleepFunction(total_run_time_in_ns - total_sleep_time_in_ns); in GlobalFunction()
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/
DSleepActivity.java29 private long SleepFunction(long sleepTimeInNs) { in createRunSleepThread()
43 totalSleepTimeInNs += SleepFunction( in createRunSleepThread()
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/src/main/java/com/example/simpleperf/simpleperfexampleofkotlin/
DSleepActivity.kt30 fun SleepFunction(sleepTimeInNs: Long): Long { in createRunSleepThread() method
40 totalSleepTimeInNs += SleepFunction(totalRunTimeInNs - totalSleepTimeInNs) in createRunSleepThread()
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
Dnative-lib.cpp78 static uint64_t noinline SleepFunction(unsigned long long sleep_time_in_ns) { in SleepFunction() function
94 total_sleep_time_in_ns += SleepFunction(total_run_time_in_ns - total_sleep_time_in_ns); in SleepThread()
/system/extras/simpleperf/doc/
Dexecutable_commands_reference.md531 SleepFunction(). So it traces both on CPU time and off CPU time.