HiResLoadMonitor Class Reference
[Monitors]

#include <LoadMonitor.h>

Inheritance diagram for HiResLoadMonitor:

Inheritance graph
[legend]
Collaboration diagram for HiResLoadMonitor:

Collaboration graph
[legend]

List of all members.


Detailed Description

For monitoring CPU usage.

Definition at line 51 of file LoadMonitor.h.


Public Member Functions

void expire ()

Static Public Member Functions

static void start (uint64_t freq=DEFAULT_FREQUENCY)
 start the CPU monitor logger with the given frequency in microseconds
static void stop ()
 stop the CPU monitor

Static Public Attributes

static const uint64_t DEFAULT_FREQUENCY = 1*1000*1000
 default CPU monitor frequency

Member Function Documentation

void HiResLoadMonitor::expire (  )  [virtual]

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

Implements TimerHandler.

Definition at line 67 of file LoadMonitor.cc.

References Log::logf(), prevTime, TimerHandler::schedule(), stat, and TimeUtil::timeu().


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

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