Handle finished jobs when using status-interval
authorKozlowski Mateusz <mateusz.kozlowski@intel.com>
Tue, 29 Mar 2022 09:27:03 +0000 (11:27 +0200)
committerKozlowski Mateusz <mateusz.kozlowski@intel.com>
Tue, 29 Mar 2022 09:27:03 +0000 (11:27 +0200)
commit61850e56907c0d3d41be27bd59f573984c8cf00d
tree03fc7e24a3d476ea8af7e2c366241e1add03e155
parenta57d3fdce796f1bb516c74db95d016bb6db170c1
Handle finished jobs when using status-interval

stat: When printing job stats with status-interval, don't keep adding values to
the total runtime if the jobs are already finished. This should fix the printing
of the intermediate runtime/average BW etc.

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
stat.c