openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Public Member Functions | Public Attributes | List of all members
opencarp::generic_timing_stats Struct Reference

for analysis of the #iterations to solve CG More...

#include <timers.h>

Collaboration diagram for opencarp::generic_timing_stats:

Public Member Functions

 ~generic_timing_stats ()
 
void init_logger (const char *filename)
 
void log_stats (double tm, bool cflg)
 

Public Attributes

int calls = 0
 # calls for this interval, this is incremented externally More...
 
int tot_calls = 0
 total # calls More...
 
double tot_time = 0.0
 total time, this is incremented externally More...
 
double last_tot_time = 0.0
 last total time More...
 
FILE_SPEC logger = NULL
 file in which to write stats More...
 

Detailed Description

for analysis of the #iterations to solve CG

Definition at line 34 of file timers.h.

Constructor & Destructor Documentation

◆ ~generic_timing_stats()

opencarp::generic_timing_stats::~generic_timing_stats ( )
inline

Definition at line 42 of file timers.h.

Member Function Documentation

◆ init_logger()

void opencarp::generic_timing_stats::init_logger ( const char *  filename)

Definition at line 75 of file timers.cc.

Here is the caller graph for this function:

◆ log_stats()

void opencarp::generic_timing_stats::log_stats ( double  tm,
bool  cflg 
)

Definition at line 91 of file timers.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ calls

int opencarp::generic_timing_stats::calls = 0

# calls for this interval, this is incremented externally

Definition at line 35 of file timers.h.

◆ last_tot_time

double opencarp::generic_timing_stats::last_tot_time = 0.0

last total time

Definition at line 38 of file timers.h.

◆ logger

FILE_SPEC opencarp::generic_timing_stats::logger = NULL

file in which to write stats

Definition at line 40 of file timers.h.

◆ tot_calls

int opencarp::generic_timing_stats::tot_calls = 0

total # calls

Definition at line 36 of file timers.h.

◆ tot_time

double opencarp::generic_timing_stats::tot_time = 0.0

total time, this is incremented externally

Definition at line 37 of file timers.h.


The documentation for this struct was generated from the following files: