SystemInformation: Add GetLoadAverage() method
Implement on platforms with getloadavg() available. Also implement on Windows using an approach like that described here: http://stackoverflow.com/questions/23143693/retrieving-cpu-load-percent-total-in-windows-with-c Co-Author: Betsy McPhail <betsy.mcphail@kitware.com> Co-Author: Brad King <brad.king@kitware.com> Change-Id: I5c50b964a05ece97e88f246df532ed6881bf2dce
Showing
- CMakeLists.txt 9 additions, 0 deletionsCMakeLists.txt
- SystemInformation.cxx 98 additions, 0 deletionsSystemInformation.cxx
- SystemInformation.hxx.in 4 additions, 0 deletionsSystemInformation.hxx.in
- kwsysPlatformTestsCXX.cxx 13 additions, 0 deletionskwsysPlatformTestsCXX.cxx
- testSystemInformation.cxx 1 addition, 0 deletionstestSystemInformation.cxx
Loading
Please register or sign in to comment