iopsystems / rezolus

Systems performance telemetry
Other
48 stars 8 forks source link

fix: cpu idle time counting backwards #281

Closed brayniac closed 1 month ago

brayniac commented 1 month ago

The busy and idle time counters used in the Linux eBPF based CPU usage sampler are lazy counters and should be initialized to zero before use so that we are able to easily calculate deltas and do the right math for cpu idle/busy time metrics.