File: minimum_cpu_update_interval.md

package info (click to toggle)
rust-sysinfo 0.30.13-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,468 kB
  • sloc: ansic: 148; makefile: 27
file content (8 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (27)
1
2
3
4
5
6
7
8
This is the minimum interval time used internally by `sysinfo` to refresh the CPU time.

⚠️ This value differs from one OS to another.

Why is this constant even needed?

If refreshed too often, the CPU usage of processes will be `0` whereas on Linux it'll
always be the maximum value (`number of CPUs * 100`).