Update CPU measurement call for the new API
This commit is contained in:
parent
6329c6e07e
commit
0d9bb27229
@ -706,8 +706,9 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
||||
|
||||
if self.counter % 3 == 0 or out_of_schedule:
|
||||
(self.last_measure_time, self.last_measure_results) = \
|
||||
qubes_host.measure_cpu_usage(self.last_measure_results,
|
||||
self.last_measure_time)
|
||||
qubes_host.measure_cpu_usage(self.qvm_collection,
|
||||
self.last_measure_results,
|
||||
self.last_measure_time)
|
||||
|
||||
for vm_row in self.vms_in_table.values():
|
||||
cur_cpu_load = None
|
||||
|
Loading…
Reference in New Issue
Block a user