Searched refs:pre_times (Results 1 – 2 of 2) sorted by relevance
35 def get_avg_cpu_usage(pre_times, post_times): argument39 diff_times[field] = post_times[field] - pre_times[field]48 pre_times = get_system_times()52 avg_cpu_usage = get_avg_cpu_usage(pre_times, post_times)
284 pre_times = self._get_system_times()288 pre_times, post_times)309 def _get_avg_cpu_usage(self, pre_times, post_times): argument318 diff_times[field] = post_times[field] - pre_times[field]