aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/statistics.py
Commit message (Collapse)AuthorAgeFilesLines
* statistics: Exit loop as soon as MemAvailable foundKevin O'Connor2020-03-221-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* statistics: Add system statsKevin O'Connor2020-03-221-2/+18
| | | | | | | Report os load, process cpu time, and system available memory to each statistics report. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Convert printer_state("ready") to an event handlerKevin O'Connor2019-01-081-7/+7
| | | | | | | Convert all users of the printer_state("ready") handler to register a "klippy:ready" event handler instead. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* statistics: Move stats handling to new "extras" moduleKevin O'Connor2018-09-021-0/+29
Move the generation of statistics to its own module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>