Searched refs:sampleAndEnable (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/include/cpustats/
H A DThreadCpuUsage.h29 // cycle, just call sampleAndEnable() at the start of each cycle.
80 // sample, or since the first call to sampleAndEnable(), enable(), or
90 bool sampleAndEnable(double& ns);
96 // the previous sample or since the first call to sampleAndEnable(),
/frameworks/native/libs/cpustats/
H A DThreadCpuUsage.cpp76 bool ThreadCpuUsage::sampleAndEnable(double& ns) function in class:android::ThreadCpuUsage
87 ALOGV("sampleAndEnable %.0f", ns);
92 ALOGV("sampleAndEnable false");
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2460 bool valid = mCpuUsage.sampleAndEnable(wcNs);

Completed in 2859 milliseconds