Searched refs:cpu_stats (Results 1 – 8 of 8) sorted by relevance
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | sysfs_power_monitor.py | 177 cpu_stats = {} 185 cpu_stats[cpu] = collections.defaultdict(int) 193 cpu_stats[cpu] = collections.defaultdict(int) 200 cpu_stats[cpu] = current_cpu 205 cpu_stats['platform_info'] = average 206 return cpu_stats 209 def CombineResults(cpu_stats, power_stats): argument 219 if not cpu_stats: 223 if 'platform_info' in cpu_stats: 226 power_stats['platform_info'].update(cpu_stats['platform_info']) [all …]
|
D | cros_power_monitor.py | 47 cpu_stats = super(CrosPowerMonitor, self).StopMonitoringPower() 59 return CrosPowerMonitor.CombineResults(cpu_stats, power_stats)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | android_platform_backend_unittest.py | 72 cpu_stats = backend.GetCpuStats('7702') 73 self.assertEquals(cpu_stats, {'CpuProcessTime': 0.05}) 82 cpu_stats = backend.GetCpuStats('7702') 83 self.assertEquals(cpu_stats, {}) 196 cpu_stats = backend.GetCpuStats('7702') 197 self.assertEquals({}, cpu_stats) 210 cpu_stats = backend.GetCpuStats('7702') 211 self.assertEquals({}, cpu_stats)
|
D | mac_platform_backend_unittest.py | 31 cpu_stats = backend.GetCpuStats(os.getpid()) 32 self.assertGreater(cpu_stats['CpuProcessTime'], 0) 33 self.assertTrue(cpu_stats.has_key('ContextSwitches')) 35 self.assertTrue(cpu_stats.has_key('IdleWakeupCount'))
|
/external/autotest/client/tests/netperf2/ |
D | netperf2.py | 247 cpu_stats = self.network_utils.process_mpstat(mpstat_out, 5) 248 keyval['CPU_C'] = 100 - cpu_stats['idle'] 249 keyval['CPU_C_SYS'] = cpu_stats['sys'] 250 keyval['CPU_C_HI'] = cpu_stats['irq'] 251 keyval['CPU_C_SI'] = cpu_stats['soft'] 252 keyval['INTRS_C'] = cpu_stats['intr/s']
|
/external/autotest/client/tests/tracing_microbenchmark/ |
D | tracers.py | 51 cpu_stats = os.path.join(per_cpu, cpu, 'stats') 52 for line in utils.read_file(cpu_stats).splitlines():
|
/external/autotest/client/bin/net/ |
D | net_utils.py | 90 cpu_stats = {} 99 cpu_stats[key] = sum(x) / count 101 return cpu_stats
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
D | browser.py | 194 def cpu_stats(self): member in Browser
|