CosmoGRaPH v0.0
Public Member Functions | Private Attributes | List of all members
cosmo::Timer Class Reference

Individual timer classes used by the TimerManager class. More...

#include <Timer.h>

Collaboration diagram for cosmo::Timer:
Collaboration graph
[legend]

Public Member Functions

double time () const
 
void start ()
 
void stop ()
 Stop timer.
 
void reset ()
 Reset timer.
 
Timer operator+ (const Timer &t2)
 
Timer operator- (const Timer &t2)
 

Private Attributes

double m_secs
 
struct timespec m_starttime
 
struct timespec m_stoptime
 

Detailed Description

Individual timer classes used by the TimerManager class.


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