stat: log out both average and max over the window
authorAnkit Kumar <ankit.kumar@samsung.com>
Thu, 25 Jan 2024 11:01:23 +0000 (16:31 +0530)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 25 Jan 2024 13:46:15 +0000 (08:46 -0500)
commit0e14633ce541b7c5f29155a7edee208fb79311d0
tree0a80689630ebd36cba70b761a5a587562842aa87
parent7f250f7514bacef1a3cea24a22ecce8bd30378bd
stat: log out both average and max over the window

Add option log_window_value alias of log_max_value which reports
average, max or both the values. Retain backward compatibility by
allowing =0 and =1 values to specify avg and max values respectively.

There is no change to existing log formats while reporting only average
or max values.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Link: https://lore.kernel.org/r/20240125110124.55137-2-ankit.kumar@samsung.com
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
client.c
iolog.c
iolog.h
options.c
server.c
stat.c