Record job start time to fix time pain points
authoraggieNick02 <nick@pcpartpicker.com>
Fri, 1 Sep 2023 15:50:34 +0000 (10:50 -0500)
committeraggieNick02 <nick@pcpartpicker.com>
Fri, 8 Sep 2023 20:21:04 +0000 (15:21 -0500)
commit12d325cac3a05f2eb1fb0f4026346129d38c023b
treebeeaf2a34b76b2666adce9df648dd5715f7c02c7
parent4a0c766c69ddfe5231d65f2676e97333ba89ab2b
Record job start time to fix time pain points

Add a new key in the json per-job output, job_start, that records the
job start time obtained via a call to clock_gettime using the clock_id
specified by the new job_start_clock_id option. This allows times of fio
jobs and log entries to be compared/ordered against each other and
against other system events recorded against the same clock_id.

Add a note to the documentation for group_reporting about how there are
several per-job values for which only the first job's value is recorded
in the json output format when group_reporting is enabled.

Fixes #1544

Signed-off-by: Nick Neumann nick@pcpartpicker.com
15 files changed:
HOWTO.rst
backend.c
cconv.c
client.c
fio.1
fio.h
fio_time.h
libfio.c
options.c
rate-submit.c
server.c
stat.c
stat.h
thread_options.h
time.c