Scippy

UG

Ubiquity Generator framework

ParaDeterministicTimer Class Referenceabstract

class for deterministic timer More...

#include <paraDeterministicTimer.h>

Inheritance diagram for ParaDeterministicTimer:
ScipParaDeterministicTimer

Public Member Functions

 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...
 

Detailed Description

class for deterministic timer

void init() as a public function:
if you want to set original initial time, you can do the init() function. arguments of the init() should be different depending on MIP solver parallelized So, add init() function in derived classes and use it in constructor of xxxParaSolver class

Definition at line 54 of file paraDeterministicTimer.h.

Constructor & Destructor Documentation

◆ ParaDeterministicTimer()

default constructor of ParaDeterministicTimer

Definition at line 62 of file paraDeterministicTimer.h.

◆ ~ParaDeterministicTimer()

virtual ~ParaDeterministicTimer ( )
virtual

destructor of ParaDeterministicTimer

Definition at line 70 of file paraDeterministicTimer.h.

Member Function Documentation

◆ getElapsedTime()

◆ normalize()

virtual void normalize ( ParaComm comm)
virtual

some normalization for the deterministic time might be needed user can do it in this function

Parameters
commcommunicator used

Reimplemented in ScipParaDeterministicTimer.

Definition at line 79 of file paraDeterministicTimer.h.

◆ update()