summaryrefslogtreecommitdiff
path: root/src/libvmon/defs/_begin.def
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-09-29 13:55:11 -0700
committerVito Caputo <vcaputo@pengaru.com>2024-10-05 11:00:54 -0700
commitf253cc169062d65a941e7d9a55ab1bcc2ca14e5f (patch)
treeac46013155a319192908da06cb04bd92027d653c /src/libvmon/defs/_begin.def
parentaa8de38476e60bfebf349be709b6fe913ce1c885 (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 'src/libvmon/defs/_begin.def')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved