Home
last modified time | relevance | path

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

/system/extras/perfprofd/
Dperfprofdcore.cc581 static void determine_before_after(unsigned &sleep_before_collect, in determine_before_after() argument
586 sleep_before_collect = (unsigned) (((double)collection_interval) * frac); in determine_before_after()
587 assert(sleep_before_collect <= collection_interval); in determine_before_after()
588 sleep_after_collect = collection_interval - sleep_before_collect; in determine_before_after()
669 unsigned sleep_before_collect = 0; in ProfilingLoopImpl() local
671 determine_before_after(sleep_before_collect, in ProfilingLoopImpl()
674 if (sleep_before_collect > 0) { in ProfilingLoopImpl()
675 config()->Sleep(sleep_before_collect); in ProfilingLoopImpl()