Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::time::Profiler Class Reference

Inheritance diagram for alma::acs::time::Profiler:

Inheritance graph
[legend]
Collaboration diagram for alma::acs::time::Profiler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Profiler ()
void reset ()
void start ()
void stop ()
void fullDescription (String msg)
void addData (String key, String value)

Static Public Member Functions

void main (String[] args)

Private Attributes

long m_totalTime
long m_minDuration
long m_maxDuration
long m_totalNumStarts
String m_extraDescrip

Detailed Description

Class that facilitates runtime profiling.

Author:
dfugate September 29, 2004


Constructor & Destructor Documentation

alma::acs::time::Profiler::Profiler  )  [inline]
 

Standard constructor.


Member Function Documentation

void alma::acs::time::Profiler::addData String  key,
String  value
[inline]
 

Adds data to description output

void alma::acs::time::Profiler::fullDescription String  msg  )  [inline]
 

Prints out a full description of all times that were saved along with other relevant statistical data.

Parameters:
msg A message to be printed out with the data.

void alma::acs::time::Profiler::main String[]  args  )  [inline, static]
 

For testing purposes only!

void alma::acs::time::Profiler::reset  )  [inline]
 

Resets this objects values.

Reimplemented from alma::acs::util::StopWatch.

void alma::acs::time::Profiler::start  )  [inline]
 

Starts a timing operation.

void alma::acs::time::Profiler::stop  )  [inline]
 

Stops a timing operation. Should only be called after a start invocation.


Member Data Documentation

String alma::acs::time::Profiler::m_extraDescrip [private]
 

long alma::acs::time::Profiler::m_maxDuration [private]
 

long alma::acs::time::Profiler::m_minDuration [private]
 

long alma::acs::time::Profiler::m_totalNumStarts [private]
 

long alma::acs::time::Profiler::m_totalTime [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:34 2009 for ACS Java API by doxygen 1.3.8