mirror of https://github.com/BOINC/boinc.git
VBOX: Only get the updated CPU time every tenth iteration through the main loop.
This commit is contained in:
parent
189a17ef07
commit
817dfd87ef
|
@ -1019,7 +1019,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
// Basic bookkeeping
|
||||
//
|
||||
if (loop_iteraction % 10) {
|
||||
if ((loop_iteraction % 10) == 0) {
|
||||
current_cpu_time = starting_cpu_time + vm.get_vm_cpu_time();
|
||||
}
|
||||
if (vm.job_duration) {
|
||||
|
|
Loading…
Reference in New Issue