Opened 16 years ago

Last modified 15 years ago

#792 closed Defect

wrapper does not save cpu time on legacy checkpointing — at Initial Version

Reported by: yoyo Owned by:
Priority: Major Milestone: Undetermined
Component: BOINC - API Version: 6.2.19
Keywords: wrapper Cc:

Description

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 (0)

Note: See TracTickets for help on using tickets.