elapsedTimer Class Reference

#include <timer.hpp>

Collaboration diagram for elapsedTimer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 elapsedTimer ()
void start ()
void stop ()
void print ()
double seconds ()

Private Attributes

long_int counter

Detailed Description

Definition at line 39 of file timer.hpp.


Constructor & Destructor Documentation

elapsedTimer::elapsedTimer (  )  [inline]

Definition at line 43 of file timer.hpp.


Member Function Documentation

void elapsedTimer::print (  ) 

Definition at line 62 of file timer.cpp.

References outputStream::print_cr(), seconds(), and std.

Here is the call graph for this function:

double elapsedTimer::seconds (  ) 

Definition at line 56 of file timer.cpp.

References long_int::as_double(), counter, and os::elapsed_frequency().

Referenced by print(), and TraceTime::~TraceTime().

Here is the call graph for this function:

void elapsedTimer::start (  ) 

Definition at line 48 of file timer.cpp.

References counter, and os::elapsed_counter().

Referenced by TraceTime::TraceTime().

Here is the call graph for this function:

void elapsedTimer::stop (  ) 

Definition at line 52 of file timer.cpp.

References counter, and os::elapsed_counter().

Referenced by TraceTime::~TraceTime().

Here is the call graph for this function:


Member Data Documentation

long_int elapsedTimer::counter [private]

Definition at line 41 of file timer.hpp.

Referenced by seconds(), start(), and stop().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 13:56:02 2006 for Strongtalk VM by  doxygen 1.4.7