steadystate: fix slope calculation for variable check intervals
authorVincent Fu <vincent.fu@samsung.com>
Mon, 20 Mar 2023 15:45:31 +0000 (11:45 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 20 Mar 2023 17:57:09 +0000 (13:57 -0400)
commit93fdba013d15599fa85d7ea94d7c048f2f3d8f5c
tree824847a5a5e2177275374011e2b83e5c4fca2717
parent90e678ba69ab9bbbfb2136f2d84a7224b72a61cb
steadystate: fix slope calculation for variable check intervals

There were several more spots where the calculations dependend on the
assumption that measurements were taken once every second. Fix those.

Fixes: 95a2f70c20c28f417f605974ab3b90c032c10024 ("fio: steadystate:
allow for custom check interval")
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
steadystate.c