Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrapper does not save cpu time on legacy checkpointing #769

Closed
romw opened this issue Feb 4, 2015 · 1 comment
Closed

wrapper does not save cpu time on legacy checkpointing #769

romw opened this issue Feb 4, 2015 · 1 comment

Comments

@romw
Copy link
Member

romw commented Feb 4, 2015

Reported by yoyo on 13 Feb 38937595 20:53 UTC
The wrapper does not store cpu time in its checkpoint.txt file, if the legacy application writes its checkpoint file.
To solve it I reverted method send_status_message() to its old version and in the main while (1) loop I added the following:

    poll_boinc_messages(task);
    send_status_message(task, frac_done);
    // begin yoyo
    if (task.has_checkpointed()) {
      write_checkpoint(i, cpu + task.cpu_time());
    }
    // end yoyo
    boinc_sleep(POLL_PERIOD);
@romw
Copy link
Member Author

romw commented Feb 4, 2015

Commented by davea on 11 Mar 38938293 03:33 UTC
(In [- manager: clamp percentages at 0,100) in prefs dialog
fixes #794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants