openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <timer_utils.h>
Public Member Functions | |
void | initialize (const timer_manager *t, double istart, double iend, int ntrig, double iintv, double idur, const char *iname) |
void | update () |
void | reset () |
![]() | |
void | assign_pool (const char *poolname) |
Public Attributes | |
const timer_manager * | mng |
double | start |
Time when we start I/O in mode _EQUDIST. More... | |
long | d_start |
discrete start in multiples of dt More... | |
double | end |
Time when we stop I/O in mode _EQUDIST. More... | |
long | d_end |
discrete stop index in multiples of dt More... | |
double | intv |
io interval in ms More... | |
long | d_intv |
discrete io interval in multiples of dt More... | |
double | nxt |
next output time in ms More... | |
int | d_nxt |
next output index More... | |
![]() | |
t_timer | type |
type of timer, continuous equidistant, or non-equidistant More... | |
const char * | name |
timer name More... | |
bool | triggered |
flag indicating trigger at current time step More... | |
int | trigger_count |
count number of triggered IO events More... | |
int | numIOs |
total number of triggers during simulation More... | |
double | trigger_dur |
triggered event duration (e.g.,stim duration) More... | |
long | d_trigger_dur |
discrete duration More... | |
int | active |
count down to end of a trigger with duration More... | |
std::string | pool |
label of pool (IO || TS || STIM || ...) to which timer belongs More... | |
Definition at line 216 of file timer_utils.h.
void opencarp::timer_eq::initialize | ( | const timer_manager * | t, |
double | istart, | ||
double | iend, | ||
int | ntrig, | ||
double | iintv, | ||
double | idur, | ||
const char * | iname | ||
) |
|
virtual |
Implements opencarp::base_timer.
Definition at line 182 of file timer_utils.cc.
|
virtual |
Implements opencarp::base_timer.
Definition at line 161 of file timer_utils.cc.
long opencarp::timer_eq::d_end |
discrete stop index in multiples of dt
Definition at line 223 of file timer_utils.h.
long opencarp::timer_eq::d_intv |
discrete io interval in multiples of dt
Definition at line 225 of file timer_utils.h.
int opencarp::timer_eq::d_nxt |
next output index
Definition at line 227 of file timer_utils.h.
long opencarp::timer_eq::d_start |
discrete start in multiples of dt
Definition at line 221 of file timer_utils.h.
double opencarp::timer_eq::end |
Time when we stop I/O in mode _EQUDIST.
Definition at line 222 of file timer_utils.h.
double opencarp::timer_eq::intv |
io interval in ms
Definition at line 224 of file timer_utils.h.
const timer_manager* opencarp::timer_eq::mng |
Definition at line 218 of file timer_utils.h.
double opencarp::timer_eq::nxt |
next output time in ms
Definition at line 226 of file timer_utils.h.
double opencarp::timer_eq::start |
Time when we start I/O in mode _EQUDIST.
Definition at line 220 of file timer_utils.h.