LoadMonitor Class Reference
[Monitors]

#include <LoadMonitor.h>

Inheritance diagram for LoadMonitor:

Inheritance graph
[legend]
Collaboration diagram for LoadMonitor:

Collaboration graph
[legend]

List of all members.


Detailed Description

For monitoring uptime.

Definition at line 85 of file LoadMonitor.h.


Public Member Functions

void expire ()

Static Public Member Functions

static void runLoadMonitor ()
 start the load monitor logger
static void stopLoadMonitor ()
 stop the load monitor
static double getLoad ()
 get the last load measured

Static Public Attributes

static const uint64_t DEFAULT_FREQUENCY = 5*1000*1000
 default timer period for the load monitor in microseconds

Member Function Documentation

void LoadMonitor::expire (  )  [virtual]

implemented by each timer subclass with the action to take when the timer fires

Implements TimerHandler.

Definition at line 190 of file LoadMonitor.cc.

References Log::logf(), and TimerHandler::schedule().


The documentation for this class was generated from the following files:

Generated on Sat Oct 4 21:30:29 2008 for Mace Library by  doxygen 1.5.5