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

Safe HaskellSafe
LanguageHaskell2010

System.Taffybar.Information.CPU

Synopsis

Documentation

cpuLoad :: IO (Double, Double, Double) Source #

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