22 Commits (b792b7ab69c24bedf8147c734a849ae0c54da1dc)

Author SHA1 Message Date
Aaron Marcher b792b7ab69 cpu: Use uint64_t on OpenBSD 8 years ago
Aaron Marcher b0401b13bb Clean up header includes 8 years ago
Aaron Marcher 10dbc9543e Merge fmt_human_2 and fmt_human_10 to one function 8 years ago
Aaron Marcher ec5c35ec9f Remove units from numbers 8 years ago
Aaron Marcher a7ade0dc6d Remove unnecessary "valid" variable in cpu_perc 8 years ago
Aaron Marcher 0bc6855741 Implement scaling for cpu_freq 8 years ago
Aaron Marcher 74c4f4ebda Add the percent sign to *_perc functions 8 years ago
Aaron Marcher f317819984 Use %d instead of accidentally %i 8 years ago
Laslo Hunhold 80fc20d1d6 Add warn() and die() 8 years ago
Aaron Marcher 6464cea333 Cast CPU percentage to int and fix indenation 8 years ago
Aaron Marcher b3330d849d cpu: Simplify functions 8 years ago
Aaron Marcher ee5ec75621 Fix coding style 8 years ago
Aaron Marcher 66a7fb16fc Remove cpu_iowait 8 years ago
Aaron Marcher 235fa3c306 cpu_perc: Documentation and readbility improvements 8 years ago
Aaron Marcher 2b82bf0248 cpu_perc: Port to OpenBSD 8 years ago
Laslo Hunhold 9750a3d731 Use indentation to increase readability 8 years ago
Laslo Hunhold 42edfea89a Revert component-split 8 years ago
Quentin Rameau f088dbfea0 cpu: OS split 8 years ago
Aaron Marcher 3fe1db8892 cpu_freq: Port to OpenBSD 8 years ago
Aaron Marcher e79d4932ea More robust preprocessor switches 8 years ago
Aaron Marcher ebf5a35052 Build Linux-only functions only on Linux 8 years ago
Laslo Hunhold 7246dc4381
Move components into dedicated subdirectory 8 years ago
Aaron Marcher 11d4bec648
Added LICENSE statements to all source files 8 years ago
Aaron Marcher 6820631175
Split into multiple files 8 years ago