When the elapsed time for a batch and the total elapsed time is reported, the expression %d %H:%M:%S is used. Even when the pipeline takes less than one day to run, the elapsed time will be reported with %d being one (i.e., taking at least 24 hours), as %d reports day of month (there is no 0'th day of a month). See here.
The code used to report elapsed time needs to be changed so that days/hours/minutes/seconds are reported accurately.
|
time.strftime('%d %H:%M:%S', time.gmtime((time.time() - startTime))), |
|
time.strftime('%d %H:%M:%S', time.gmtime((time.time() - batchStartTime))), |
When the elapsed time for a batch and the total elapsed time is reported, the expression
%d %H:%M:%Sis used. Even when the pipeline takes less than one day to run, the elapsed time will be reported with%dbeing one (i.e., taking at least 24 hours), as%dreports day of month (there is no 0'th day of a month). See here.The code used to report elapsed time needs to be changed so that days/hours/minutes/seconds are reported accurately.
Crackling/src/crackling/Crackling.py
Line 886 in b00de36
Crackling/src/crackling/Crackling.py
Line 879 in b00de36