Searched refs:last_usage (Results 1 – 3 of 3) sorted by relevance
131 self.last_usage = None135 self.last_usage = self.system_facade.get_cpu_usage()145 self.last_usage, current_usage)147 self.last_usage = current_usage
186 def compute_active_cpu_time(self, last_usage, current_usage): argument
45 uint64_t last_usage[8], last_duration[8]; variable828 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()