diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2024-09-29 13:55:11 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2024-10-05 11:00:54 -0700 |
commit | f253cc169062d65a941e7d9a55ab1bcc2ca14e5f (patch) | |
tree | ac46013155a319192908da06cb04bd92027d653c /list.h | |
parent | aa8de38476e60bfebf349be709b6fe913ce1c885 (diff) |
charts: compute a "sample duration" for current sample
This turns the time passed since the last sample taken into a
"sample duration".
Ideally this would always be 1, and up until now in the main use
case, vwm, it's been assumed to generally be 1 and drops in the
timeline treated benign/fleeting because of the live viewing.
But with the introduction of --headless and increasing use on my
servers / embedded interests, this has become more problematic.
In this commit the duration is only being maintained, but not
applied.
Subsequent commits will have to repeat the current sample in the
graphs (this_sample_duration - 1) times.
Diffstat (limited to 'list.h')
0 files changed, 0 insertions, 0 deletions