SST/macro
Public Member Functions | Private Attributes | List of all members
sstmac::sw::Timer Class Reference

#include <api.h>

Collaboration diagram for sstmac::sw::Timer:
Collaboration graph

Public Member Functions

 Timer ()
 
void tic ()
 
void toc ()
 
void reset ()
 
double getTime ()
 

Private Attributes

my_timer_t start
 
double duration
 
timer_c ts
 
double conv_factor
 
double elapsed_time
 

Detailed Description

Definition at line 37 of file api.h.

Constructor & Destructor Documentation

sstmac::sw::Timer::Timer ( )

Member Function Documentation

double sstmac::sw::Timer::getTime ( )
void sstmac::sw::Timer::reset ( )
void sstmac::sw::Timer::tic ( )
inline
void sstmac::sw::Timer::toc ( )
inline

Member Data Documentation

double sstmac::sw::Timer::conv_factor
private

Definition at line 56 of file api.h.

double sstmac::sw::Timer::duration
private

Definition at line 54 of file api.h.

double sstmac::sw::Timer::elapsed_time
private

Definition at line 57 of file api.h.

my_timer_t sstmac::sw::Timer::start
private

Definition at line 53 of file api.h.

timer_c sstmac::sw::Timer::ts
private

Definition at line 55 of file api.h.


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