DistDir
Data Structures | Macros | Typedefs | Functions
timer.h File Reference
#include "mpi.h"

Go to the source code of this file.

Data Structures

struct  t_timer_data
 The structure contains information about a single timer. More...
 
struct  t_list_node
 The structure contains a linked list single node for the timer module. More...
 

Macros

#define STRING_MAX   1024
 

Typedefs

typedef struct t_timer_data t_timer_data
 
typedef struct t_list_node t_list_node
 

Functions

int new_timer (const char *timer_name)
 Create a new timer. More...
 
void timer_start (int timer_id)
 Start timer based on ID. More...
 
void timer_stop (int timer_id)
 Stop timer based on ID. More...
 
void timers_report ()
 Create reports of all timers. More...
 
void timers_reset ()
 Reset all the timers. More...
 
void delete_timers ()
 Free timers memory. More...
 

Macro Definition Documentation

◆ STRING_MAX

#define STRING_MAX   1024

Typedef Documentation

◆ t_list_node

typedef struct t_list_node t_list_node

◆ t_timer_data

typedef struct t_timer_data t_timer_data