Module getsys::cpu

source ·
Expand description

Cpu functions CPU related functions

Enums

Functions

  • Average CPU usage as a f64 value percentage from 0% - 100%. It takes as a parameter the amount of time to sleep in between reads, since to get an average of the usage, we will need to compare values passed an interval of time.
  • Average system temperature
  • Same as turbo() but takes into account NotSupported machines.
  • turboDeprecated
    Returns true if the turbo boost is enabled, false if it is disabled or not supported.