Home
last modified time | relevance | path

Searched refs:ONEWAY_API_DELAY (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/powermanager/benchmarks/
DPowerHalAidlBenchmarks.cpp64 static constexpr microseconds ONEWAY_API_DELAY = 100us; variable
130 if (ONEWAY_API_DELAY > 0us) { in runSessionBenchmark()
131 testDelaySpin(std::chrono::duration_cast<std::chrono::duration<float>>(ONEWAY_API_DELAY) in runSessionBenchmark()
153 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setBoost, boost, 1); in BM_PowerHalAidlBenchmarks_setBoost()
158 runBenchmark(state, ONEWAY_API_DELAY, &IPower::setMode, mode, false); in BM_PowerHalAidlBenchmarks_setMode()
DPowerHalHidlBenchmarks.cpp44 static constexpr microseconds ONEWAY_API_DELAY = 100us; variable
84 runBenchmark(state, ONEWAY_API_DELAY, &IPower1_1::powerHintAsync, powerHint, 0); in BM_PowerHalHidlBenchmarks_powerHintAsync()
DPowerHalControllerBenchmarks.cpp41 static constexpr std::chrono::microseconds ONEWAY_API_DELAY = 100us; variable
69 std::chrono::duration_cast<std::chrono::duration<float>>(ONEWAY_API_DELAY).count()); in runCachedBenchmark()