diff --git a/checkin_notes b/checkin_notes index 5a87e37392..c215caf98c 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6402,3 +6402,10 @@ Rom 27 Oct 2012 samples\vboxwrapper\ vboxwrapper.cpp + +Rom 27 Oct 2012 + - VBOX: Increase elapsed_time if we were forced to sleep after executing the main loop + + samples\vboxwrapper\ + vboxwrapper.cpp + \ No newline at end of file diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp index f864960ac7..b1a9dcb8db 100644 --- a/samples/vboxwrapper/vboxwrapper.cpp +++ b/samples/vboxwrapper/vboxwrapper.cpp @@ -802,6 +802,7 @@ int main(int argc, char** argv) { sleep_time = POLL_PERIOD - (stopwatch_endtime - stopwatch_time); if (sleep_time > 0) { boinc_sleep(sleep_time); + elapsed_time += sleep_time; } }