Searched refs:system_facade (Results 1 – 8 of 8) sorted by relevance
/external/autotest/client/common_lib/cros/ |
D | system_metrics_collector.py | 114 def __init__(self, system_facade): argument 116 self.system_facade = system_facade 119 total_memory = self.system_facade.get_mem_total() 120 free_memory = self.system_facade.get_mem_free_plus_buffers_and_cached() 129 def __init__(self, system_facade): argument 132 self.system_facade = system_facade 135 self.last_usage = self.system_facade.get_cpu_usage() 141 current_usage = self.system_facade.get_cpu_usage() 144 usage_percent = 100 * self.system_facade.compute_active_cpu_time( 153 def __init__(self, system_facade): argument [all …]
|
D | system_metrics_collector_unittest.py | 22 system_facade = FakeSystemFacade() 23 metric = system_metrics_collector.CpuUsageMetric(system_facade) 25 system_facade.active_cpu_time += 0.1 35 system_facade = FakeSystemFacade() 36 metric = system_metrics_collector.StorageWrittenMetric(system_facade) 38 system_facade.storage_statistics['written_kb'] += 1337
|
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/ |
D | enterprise_longevity_helper.py | 15 def get_cpu_usage(system_facade, measurement_duration_seconds): argument 26 cpu_usage_start = system_facade.get_cpu_usage() 28 cpu_usage_end = system_facade.get_cpu_usage() 29 return system_facade.compute_active_cpu_time( 33 def get_memory_usage(system_facade): argument 43 total_memory = system_facade.get_mem_total() 44 return ((total_memory - system_facade.get_mem_free()) 48 def get_temperature_data(client, system_facade): argument 60 ec_temp = system_facade.get_ec_temperatures()
|
D | enterprise_LongevityTrackerServer.py | 58 self.board_name = self.system_facade.get_current_board() 59 self.chromeos_version = self.system_facade.get_chromeos_release_version() 184 self.system_facade, MEASUREMENT_DURATION_SECONDS) 186 self.system_facade) 188 self.client, self.system_facade) 353 self.system_facade = factory.create_system_facade()
|
/external/autotest/server/cros/cfm/utils/ |
D | perf_metrics_collector.py | 12 def __init__(self, system_facade, cfm_facade, writer_function, argument 23 system_facade) 27 system_metrics_collector.SystemMetricsCollector(system_facade,
|
/external/autotest/server/cros/cfm/configurable_test/ |
D | configurable_cfm_test.py | 94 system_facade = self._facade_factory.create_system_facade() 95 return perf_metrics_collector.PerfMetricsCollector(system_facade,
|
/external/autotest/server/site_tests/enterprise_CFM_Perf/ |
D | enterprise_CFM_Perf.py | 89 system_facade = self._facade_factory.create_system_facade() 92 system_facade,
|
/external/autotest/client/cros/chameleon/ |
D | audio_widget.py | 790 def __init__(self, audio_facade, plug_handler, system_facade): argument 802 self._system_facade = system_facade 842 def __init__(self, audio_facade, plug_handler, system_facade): argument 854 self._system_facade = system_facade
|