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