LoadAverageStats Class Reference

System "load average" statistics. More...

#include <LoadAverageStats.h++>

Inheritance diagram for LoadAverageStats:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LoadAverageStats ()
 Construct a new LoadAverageStats object.
 ~LoadAverageStats () throw ()
 Destructor.
double getLoad1Min () const throw ()
 Get the load average over the last 1 minute period.
double getLoad5Min () const throw ()
 Get the load average over the last 5 minute period.
double getLoad15Min () const throw ()
 Get the load average over the last 15 minute period.
bool collect () throw ()
 Collect (update) the stats represented by this object.
void reset () throw ()
 Reset the stats object.

Detailed Description

System "load average" statistics.

These statistics represent the average system load over a period of time. These statistics are not available on Windows.

Author:
Mark Lindner

Constructor & Destructor Documentation

Construct a new LoadAverageStats object.

~LoadAverageStats (  )  throw ()

Destructor.


Member Function Documentation

bool collect (  )  throw () [virtual]

Collect (update) the stats represented by this object.

Returns:
true if the stats were collected successfully, false otherwise.

Implements SystemStats.

double getLoad15Min (  )  const throw () [inline]

Get the load average over the last 15 minute period.

double getLoad1Min (  )  const throw () [inline]

Get the load average over the last 1 minute period.

double getLoad5Min (  )  const throw () [inline]

Get the load average over the last 5 minute period.

void reset (  )  throw () [virtual]

Reset the stats object.

Implements SystemStats.


The documentation for this class was generated from the following files:
Generated on Sat Nov 26 16:49:09 2011 for libcommonc++ by  doxygen 1.6.3