Update CPU measurement call for the new API

This commit is contained in:
Marek Marczykowski-Górecki 2015-02-09 05:05:03 +01:00
parent 6329c6e07e
commit 0d9bb27229

View File

@ -706,7 +706,8 @@ 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,
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():