Scippy

UG

Ubiquity Generator framework

ScipParaDeterministicTimer Class Reference

#include <scipParaDeterministicTimer.h>

Inheritance diagram for ScipParaDeterministicTimer:
ParaDeterministicTimer

Public Member Functions

 ScipParaDeterministicTimer ()
 
virtual ~ScipParaDeterministicTimer ()
 
void normalize (UG::ParaComm *comm)
 
void update (double value)
 
double getElapsedTime ()
 
- Public Member Functions inherited from ParaDeterministicTimer
 ParaDeterministicTimer ()
 default constructor of ParaDeterministicTimer More...
 
virtual ~ParaDeterministicTimer ()
 destructor of ParaDeterministicTimer More...
 
virtual void normalize (ParaComm *comm)
 some normalization for the deterministic time might be needed user can do it in this function More...
 
virtual void update (double value)=0
 update function of the deterministic time. the deterministic time is a kind of counter More...
 
virtual double getElapsedTime ()=0
 getter of the deterministic time More...
 

Private Attributes

double current
 
int normalizeFactor
 

Detailed Description

Definition at line 45 of file scipParaDeterministicTimer.h.

Constructor & Destructor Documentation

◆ ScipParaDeterministicTimer()

◆ ~ScipParaDeterministicTimer()

virtual ~ScipParaDeterministicTimer ( )
virtual

Definition at line 51 of file scipParaDeterministicTimer.h.

Member Function Documentation

◆ getElapsedTime()

double getElapsedTime ( )
virtual

◆ normalize()

void normalize ( UG::ParaComm comm)
virtual

Reimplemented from ParaDeterministicTimer.

Definition at line 56 of file scipParaDeterministicTimer.h.

References comm, and ScipParaDeterministicTimer::normalizeFactor.

◆ update()

void update ( double  value)
virtual

Member Data Documentation

◆ current

double current
private

◆ normalizeFactor

int normalizeFactor
private