module/cpu: cleanup poll-interval

* man page: spell out ‘milliseconds’
* use a ‘static const’ variable for min_poll_interval, instead of a
  macro
This commit is contained in:
Daniel Eklöf 2022-12-22 11:46:00 +01:00
parent c0e0702a6c
commit 1f25978eb4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 10 additions and 9 deletions

View file

@ -31,8 +31,8 @@ total CPU usage.
| poll-interval
: int
: no
: Refresh interval of the CPU usage stats in ms (default=500). Cannot
be less then 500 ms
: Refresh interval of the CPU usage stats in milliseconds
(default=500). Cannot be less then 500ms.
# EXAMPLES