summaryrefslogtreecommitdiff
path: root/src/libvmon/bitmap.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2017-03-20 22:12:30 -0700
committerVito Caputo <vcaputo@gnugeneration.com>2017-03-20 22:35:38 -0700
commit32e13594d13767fc0687c43ddcd68cae9ac555d0 (patch)
tree663ccf75cee4fd4aeceaab73dbebd966d90b1f8a /src/libvmon/bitmap.h
parent5bb2a77b7ef357975346b0380471aedbd775d164 (diff)
overlays: add ability to explicitly set rate
In vwm it was only necessary to relatively increase/decrease the sample rate. With vmon being primarily a cli tool, explicit setting of the rate is desirable. This commit reworks things a little de-specializing the zero value of overlays->sampling_interval, while switching this to instead of being an index into the intervals table simply contain the float interval itself. The math.h INFINITY macro becomes the new paused/zero value, and simply gets an entry of its own in the intervals table as the lowest one.
Diffstat (limited to 'src/libvmon/bitmap.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved