mirror of https://github.com/BOINC/boinc.git
- VBOX: Restore the elapsed time from the checkpoint file instead of
aid.starting_elapsed_time. It appears some older client versions are giving erratic results. samples/vboxwrapper/ vboxwrapper.cpp svn path=/trunk/boinc/; revision=24991
This commit is contained in:
parent
d2784ffc4b
commit
3bfd0a145f
|
@ -144,3 +144,11 @@ Rom 3 Jan 2012
|
|||
samples/vboxwrapper/
|
||||
vbox.cpp, .h
|
||||
vboxwrapper.cpp
|
||||
|
||||
Rom 3 Jan 2012
|
||||
- VBOX: Restore the elapsed time from the checkpoint file instead of
|
||||
aid.starting_elapsed_time. It appears some older client versions
|
||||
are giving erratic results.
|
||||
|
||||
samples/vboxwrapper/
|
||||
vboxwrapper.cpp
|
||||
|
|
|
@ -360,8 +360,9 @@ int main(int argc, char** argv) {
|
|||
vm.vm_cpu_count = "1";
|
||||
}
|
||||
|
||||
elapsed_time = aid.starting_elapsed_time;
|
||||
// Restore from checkpoint
|
||||
read_checkpoint(checkpoint_cpu_time);
|
||||
elapsed_time = checkpoint_cpu_time;
|
||||
|
||||
// Should we even try to start things up?
|
||||
if (vm.job_duration && (elapsed_time > vm.job_duration)) {
|
||||
|
|
Loading…
Reference in New Issue