diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-20 22:12:30 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-20 22:35:38 -0700 |
commit | 32e13594d13767fc0687c43ddcd68cae9ac555d0 (patch) | |
tree | 663ccf75cee4fd4aeceaab73dbebd966d90b1f8a /src/vwm.c | |
parent | 5bb2a77b7ef357975346b0380471aedbd775d164 (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/vwm.c')
0 files changed, 0 insertions, 0 deletions