Searched refs:cpu_usage_start (Results 1 – 11 of 11) sorted by relevance
/external/autotest/client/cros/multimedia/ |
D | system_facade_native.py | 74 def compute_active_cpu_time(self, cpu_usage_start, cpu_usage_end): argument 80 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/server/cros/multimedia/ |
D | system_facade_adapter.py | 66 def compute_active_cpu_time(self, cpu_usage_start, cpu_usage_end): argument 72 return self._system_proxy.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/client/site_tests/performance_Tracker/ |
D | performance_Tracker.py | 34 cpu_usage_start = utils.get_cpu_usage() 37 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/client/site_tests/enterprise_KioskPerf/ |
D | enterprise_KioskPerf.py | 36 cpu_usage_start = utils.get_cpu_usage() 39 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/ |
D | enterprise_longevity_helper.py | 26 cpu_usage_start = system_facade.get_cpu_usage() 30 cpu_usage_start, cpu_usage_end) * 100
|
/external/autotest/client/site_tests/video_JDAPerf/ |
D | video_JDAPerf.py | 80 cpu_usage_start = utils.get_cpu_usage() 83 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/client/site_tests/video_MediaRecorderPerf/ |
D | video_MediaRecorderPerf.py | 110 cpu_usage_start = utils.get_cpu_usage() 113 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/client/site_tests/video_WebRtcPerf/ |
D | video_WebRtcPerf.py | 260 cpu_usage_start = utils.get_cpu_usage() 263 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/client/site_tests/video_PlaybackPerf/ |
D | video_PlaybackPerf.py | 186 cpu_usage_start = utils.get_cpu_usage() 189 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/client/site_tests/longevity_Tracker/ |
D | longevity_Tracker.py | 66 cpu_usage_start = utils.get_cpu_usage() 69 return utils.compute_active_cpu_time(cpu_usage_start,
|
/external/autotest/client/bin/ |
D | utils.py | 1647 def compute_active_cpu_time(cpu_usage_start, cpu_usage_end): argument 1658 time_active_start = sum([x[1] for x in cpu_usage_start.iteritems() 1662 total_time_start = sum(cpu_usage_start.values()) 1690 cpu_usage_start = get_cpu_usage() 1697 fraction_active_time = compute_active_cpu_time(cpu_usage_start,
|