|
libcommonc++
0.7
|
System "load average" statistics. More...
#include <LoadAverageStats.h++>


Public Member Functions | |
| LoadAverageStats () | |
| Construct a new LoadAverageStats object. More... | |
| ~LoadAverageStats () | |
| Destructor. More... | |
| double | getLoad1Min () const |
| Get the load average over the last 1 minute period. More... | |
| double | getLoad5Min () const |
| Get the load average over the last 5 minute period. More... | |
| double | getLoad15Min () const |
| Get the load average over the last 15 minute period. More... | |
| bool | collect () |
| Collect (update) the stats represented by this object. More... | |
| void | reset () |
| Reset the stats object. More... | |
System "load average" statistics.
These statistics represent the average system load over a period of time. These statistics are not available on Windows.
| LoadAverageStats | ( | ) |
Construct a new LoadAverageStats object.
| ~LoadAverageStats | ( | ) |
Destructor.
|
virtual |
Collect (update) the stats represented by this object.
Implements SystemStats.
|
inline |
Get the load average over the last 15 minute period.
|
inline |
Get the load average over the last 1 minute period.
|
inline |
Get the load average over the last 5 minute period.
|
virtual |
Reset the stats object.
Implements SystemStats.