Opened 16 years ago
Last modified 15 years ago
#792 closed Defect
wrapper does not save cpu time on legacy checkpointing — at Version 2
Reported by: | yoyo | Owned by: | davea |
---|---|---|---|
Priority: | Major | Milestone: | Undetermined |
Component: | BOINC - API | Version: | 6.2.19 |
Keywords: | wrapper | Cc: |
Description (last modified by )
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);
Change History (2)
comment:1 Changed 16 years ago by
Component: | Undetermined → BOINC - API |
---|---|
Owner: | set to davea |
comment:2 Changed 16 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.