VBOX: Only get the updated CPU time every tenth iteration through the main loop.

This commit is contained in:
Rom Walton 2014-05-30 19:25:28 -04:00
parent 189a17ef07
commit 817dfd87ef
1 changed files with 1 additions and 1 deletions

View File

@ -1019,7 +1019,7 @@ int main(int argc, char** argv) {
// Basic bookkeeping // Basic bookkeeping
// //
if (loop_iteraction % 10) { if ((loop_iteraction % 10) == 0) {
current_cpu_time = starting_cpu_time + vm.get_vm_cpu_time(); current_cpu_time = starting_cpu_time + vm.get_vm_cpu_time();
} }
if (vm.job_duration) { if (vm.job_duration) {