Flow123d  master-f44eb46
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
Profiler Class Reference

#include <sys_profiler.hh>

Public Member Functions

void set_task_info (string, int)
 
void set_program_info (string, string, string, string, string)
 
void notify_malloc (const size_t)
 
void notify_free (const size_t)
 
void output (MPI_Comm, ostream &)
 
string output (MPI_Comm, string)
 
void output (std::ostream &)
 
string output (string)
 
double get_resolution () const
 
const char * actual_tag () const
 
unsigned int actual_count () const
 
double actual_cumulative_time () const
 
void calibrate ()
 
double calibration_time ()
 

Static Public Member Functions

static Profilerinstance (bool clear=false)
 
static void uninitialize ()
 

Private Member Functions

 Profiler ()
 

Detailed Description

Definition at line 876 of file sys_profiler.hh.

Constructor & Destructor Documentation

◆ Profiler()

Profiler::Profiler ( )
inlineprivate

Definition at line 916 of file sys_profiler.hh.

Here is the caller graph for this function:

Member Function Documentation

◆ actual_count()

unsigned int Profiler::actual_count ( ) const
inline

Definition at line 906 of file sys_profiler.hh.

◆ actual_cumulative_time()

double Profiler::actual_cumulative_time ( ) const
inline

Definition at line 908 of file sys_profiler.hh.

◆ actual_tag()

const char* Profiler::actual_tag ( ) const
inline

Definition at line 904 of file sys_profiler.hh.

◆ calibrate()

void Profiler::calibrate ( )

◆ calibration_time()

double Profiler::calibration_time ( )
inline

Definition at line 912 of file sys_profiler.hh.

◆ get_resolution()

double Profiler::get_resolution ( ) const
inline

Definition at line 902 of file sys_profiler.hh.

◆ instance()

Profiler * Profiler::instance ( bool  clear = false)
static

Definition at line 922 of file sys_profiler.cc.

Here is the caller graph for this function:

◆ notify_free()

void Profiler::notify_free ( const  size_t)
inline

Definition at line 886 of file sys_profiler.hh.

◆ notify_malloc()

void Profiler::notify_malloc ( const  size_t)
inline

Definition at line 884 of file sys_profiler.hh.

◆ output() [1/4]

void Profiler::output ( MPI_Comm  ,
ostream &   
)
inline

Definition at line 888 of file sys_profiler.hh.

Here is the caller graph for this function:

◆ output() [2/4]

string Profiler::output ( MPI_Comm  ,
string   
)
inline

Definition at line 890 of file sys_profiler.hh.

◆ output() [3/4]

void Profiler::output ( std::ostream &  )
inline

Definition at line 892 of file sys_profiler.hh.

◆ output() [4/4]

string Profiler::output ( string  )
inline

Definition at line 894 of file sys_profiler.hh.

◆ set_program_info()

void Profiler::set_program_info ( string  ,
string  ,
string  ,
string  ,
string   
)
inline

Definition at line 882 of file sys_profiler.hh.

Here is the caller graph for this function:

◆ set_task_info()

void Profiler::set_task_info ( string  ,
int   
)
inline

Definition at line 880 of file sys_profiler.hh.

Here is the caller graph for this function:

◆ uninitialize()

void Profiler::uninitialize ( )
static

Definition at line 935 of file sys_profiler.cc.

Here is the caller graph for this function:

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