OpenMEEG
Public Member Functions | Private Attributes | List of all members
OpenMEEG::cpuChrono Class Reference

#include <cpuChrono.h>

Public Member Functions

 cpuChrono ()
 
 ~cpuChrono ()
 
void start ()
 
void stop ()
 
void zero ()
 
clock_t getEllapsedT () const
 
double getEllapsedS () const
 
void dispEllapsed () const
 

Private Attributes

clock_t ellapsed
 
clock_t tstart
 

Detailed Description

Definition at line 46 of file cpuChrono.h.

Constructor & Destructor Documentation

◆ cpuChrono()

OpenMEEG::cpuChrono::cpuChrono ( )
inline

Definition at line 53 of file cpuChrono.h.

◆ ~cpuChrono()

OpenMEEG::cpuChrono::~cpuChrono ( )
inline

Definition at line 54 of file cpuChrono.h.

Member Function Documentation

◆ start()

void OpenMEEG::cpuChrono::start ( )
inline

Definition at line 56 of file cpuChrono.h.

◆ stop()

void OpenMEEG::cpuChrono::stop ( )
inline

Definition at line 57 of file cpuChrono.h.

◆ zero()

void OpenMEEG::cpuChrono::zero ( )
inline

Definition at line 58 of file cpuChrono.h.

◆ getEllapsedT()

clock_t OpenMEEG::cpuChrono::getEllapsedT ( ) const
inline

Definition at line 60 of file cpuChrono.h.

◆ getEllapsedS()

double OpenMEEG::cpuChrono::getEllapsedS ( ) const
inline

Definition at line 62 of file cpuChrono.h.

◆ dispEllapsed()

void OpenMEEG::cpuChrono::dispEllapsed ( ) const
inline

Definition at line 66 of file cpuChrono.h.

Member Data Documentation

◆ ellapsed

clock_t OpenMEEG::cpuChrono::ellapsed
private

Definition at line 48 of file cpuChrono.h.

◆ tstart

clock_t OpenMEEG::cpuChrono::tstart
private

Definition at line 49 of file cpuChrono.h.


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