Home
last modified time | relevance | path

Searched refs:last_usage (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/common_lib/cros/
Dsystem_metrics_collector.py131 self.last_usage = None
135 self.last_usage = self.system_facade.get_cpu_usage()
145 self.last_usage, current_usage)
147 self.last_usage = current_usage
Dsystem_metrics_collector_unittest.py186 def compute_active_cpu_time(self, last_usage, current_usage): argument
/external/autotest/client/profilers/powertop/src/
Dpowertop.c45 uint64_t last_usage[8], last_duration[8]; variable
828 memcpy(last_usage, start_usage, sizeof(last_usage)); in main()
883 totalevents += cur_usage[i] - last_usage[i]; in main()
912 sleept = (cur_duration[i] - last_duration[i]) / (cur_usage[i] - last_usage[i] in main()
1167 memcpy(last_usage, cur_usage, sizeof(last_usage)); in main()