Home
last modified time | relevance | path

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

/external/webrtc/src/system_wrappers/source/
Dcpu_measurement_harness.cc98 bool cpu_usage_available = false; in WaitForCpuInit() local
103 while (!cpu_usage_available && (++num_iterations < 10000)) { in WaitForCpuInit()
105 cpu_usage_available = cpu_->CpuUsage() != -1; in WaitForCpuInit()
107 return cpu_usage_available; in WaitForCpuInit()
Dcpu_wrapper_unittest.cc48 bool cpu_usage_available = cpu->CpuUsageMultiCore(num_cores, cores) != -1; in TEST() local
52 while (!cpu_usage_available && (++num_iterations < 10000)) { in TEST()
58 cpu_usage_available = cpu->CpuUsageMultiCore(num_cores, cores) != -1; in TEST()
60 ASSERT_TRUE(cpu_usage_available); in TEST()