|
#include <RobotAPI/libraries/armem_system_state/server/LightweightSystemMonitor/linux_process_load.hpp>
Public Member Functions | |
std::map< std::string, double > | getProcessCpuLoad () |
get a map of [pid] which contains the cpu load between two calls. More... | |
distributed under the MIT License (MIT). Copyright (c) Daniel Fuchs
Definition at line 18 of file linux_process_load.hpp.
std::map< std::string, double > getProcessCpuLoad | ( | ) |
get a map of [pid] which contains the cpu load between two calls.
function needs to be called regularly (e.g.: 5s.) to get the cpu load per process
Definition at line 73 of file linux_process_load.cpp.