The ProcessWatcher class is instantiated once in each armarx::Application an monitors thread, CPU, and memory utilization.
More...
#include <ArmarXCore/core/system/ProcessWatcher.h>
The ProcessWatcher class is instantiated once in each armarx::Application an monitors thread, CPU, and memory utilization.
Definition at line 96 of file ProcessWatcher.h.
◆ ProcessWatcher()
◆ addAllChildThreads()
void addAllChildThreads |
( |
int |
processId, |
|
|
int |
threadId |
|
) |
| |
◆ addThread() [1/2]
void addThread |
( |
int |
processId, |
|
|
int |
threadId |
|
) |
| |
◆ addThread() [2/2]
void addThread |
( |
int |
threadId | ) |
|
◆ GetHertz()
◆ getProcessCpuUsage()
◆ GetThreadJiffies()
int GetThreadJiffies |
( |
int |
processId, |
|
|
int |
threadId |
|
) |
| |
|
static |
◆ GetThreadListJiffies()
std::map< int, int > GetThreadListJiffies |
( |
int |
processId, |
|
|
std::vector< int > |
threadIds |
|
) |
| |
|
static |
◆ getThreadLoad() [1/2]
double getThreadLoad |
( |
int |
processId, |
|
|
int |
threadId |
|
) |
| |
◆ getThreadLoad() [2/2]
double getThreadLoad |
( |
int |
threadId | ) |
|
◆ removeAllThreads()
void removeAllThreads |
( |
| ) |
|
◆ removeThread() [1/2]
void removeThread |
( |
int |
processId, |
|
|
int |
threadId |
|
) |
| |
◆ removeThread() [2/2]
void removeThread |
( |
int |
threadId | ) |
|
◆ reportCpuUsage()
◆ reportMemoryUsage()
void reportMemoryUsage |
( |
| ) |
|
◆ start()
◆ stop()
The documentation for this class was generated from the following files: