taffybar-0.1.2: A desktop bar similar to xmobar, but with more GUI

System.Information.CPU

Synopsis

Documentation

cpuLoad :: IO (Double, Double, Double)

Return a pair with (user time, system time, total time) (read from procstat). The function waits for 50 ms between samples.