#include <timer.hpp>
Collaboration diagram for elapsedTimer:
Public Member Functions | |
elapsedTimer () | |
void | start () |
void | stop () |
void | print () |
double | seconds () |
Private Attributes | |
long_int | counter |
Definition at line 39 of file timer.hpp.
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:
long_int elapsedTimer::counter [private] |