cedadev / wflogger

Workflow logging utilities (for JASMIN and LOTUS)
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Need to explain how timings are worked out - always put an event at the END of the step #3

Open agstephens opened 2 years ago

agstephens commented 2 years ago

Explain in the docs/readme.

agstephens commented 2 years ago

Proposed text...

Always log the "stage" at the end of the task

When analysing workflows, the duration of each stage is calculated from:

duration = timestamp_of_this_stage - timestamp_of_previous_stage

To ensure you capture the duration of the last stage you should always log a final event at the end of the task.