Searched refs:last_usage (Results 1 – 5 of 5) sorted by relevance
137 self.last_usage = None141 self.last_usage = self.system_facade.get_cpu_usage()151 self.last_usage, current_usage)153 self.last_usage = current_usage
213 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()
253 int last_usage = tensor_usages[inputs[0]->id]; in Compile() local255 if (tensor_usages[inputs[j]->id] > last_usage) { in Compile()256 last_usage = tensor_usages[inputs[j]->id]; in Compile()
345 int last_usage = tensor_usages[inputs[0]->id]; in ConvertOperations() local347 if (tensor_usages[inputs[j]->id] > last_usage) { in ConvertOperations()348 last_usage = tensor_usages[inputs[j]->id]; in ConvertOperations()