Ticket #792 (closed Defect: fixed)

Opened 1 year ago

Last modified 3 months ago

wrapper does not save cpu time on legacy checkpointing

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

Description (Last modified by Nicolas)

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

12/07/08 14:47:10 changed by Nicolas

  • owner set to davea.
  • component changed from Undetermined to BOINC - API.

12/07/08 14:48:20 changed by Nicolas

  • description changed.

12/07/08 20:48:02 changed by davea

  • status changed from new to closed.
  • resolution set to fixed.

(In [16645]) - manager: clamp percentages at [0,100] in prefs dialog

fixes #794

- wrapper: if app checkpoints, write CPU time to checkpoint file

fixes #792 (I hope)


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.