HPCToolkit
mpi.c File Reference
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <monitor.h>
#include <hpcrun/hpcrun_options.h>
#include <hpcrun/disabled.h>
#include <hpcrun/metrics.h>
#include <sample_event.h>
#include "sample_source_obj.h"
#include "common.h"
#include <main.h>
#include <hpcrun/sample_sources_registered.h>
#include "simple_oo.h"
#include <hpcrun/thread_data.h>
#include <messages/messages.h>
#include "ss_obj.h"
Include dependency graph for mpi.c:

Go to the source code of this file.

Macros

#define ss_name   hpmpi
 
#define ss_cls   SS_SOFTWARE
 

Functions

static void METHOD_FN (init)
 
static void METHOD_FN (thread_init)
 
static void METHOD_FN (thread_init_action)
 
static void METHOD_FN (start)
 
static void METHOD_FN (thread_fini_action)
 
static void METHOD_FN (stop)
 
static void METHOD_FN (shutdown)
 
static bool METHOD_FN (supports_event, const char *ev_str)
 
static void METHOD_FN (process_event_list, int lush_metrics)
 
static void METHOD_FN (gen_event_set, int lush_metrics)
 
static void METHOD_FN (display_events)
 
int hpcrun_mpi_metric_id ()
 
void hpcrun_mpi_inc (cct_node_t *node, int incr)
 

Variables

static int hpmpi_metric_id = -1
 

Macro Definition Documentation

◆ ss_cls

#define ss_cls   SS_SOFTWARE

Definition at line 195 of file mpi.c.

◆ ss_name

#define ss_name   hpmpi

Definition at line 194 of file mpi.c.

Function Documentation

◆ hpcrun_mpi_inc()

void hpcrun_mpi_inc ( cct_node_t node,
int  incr 
)

Definition at line 220 of file mpi.c.

Here is the call graph for this function:

◆ hpcrun_mpi_metric_id()

int hpcrun_mpi_metric_id ( )

Definition at line 212 of file mpi.c.

◆ METHOD_FN() [1/11]

static void METHOD_FN ( init  )
static

Definition at line 93 of file mpi.c.

◆ METHOD_FN() [2/11]

static void METHOD_FN ( thread_init  )
static

Definition at line 100 of file mpi.c.

◆ METHOD_FN() [3/11]

static void METHOD_FN ( thread_init_action  )
static

Definition at line 106 of file mpi.c.

◆ METHOD_FN() [4/11]

static void METHOD_FN ( start  )
static

Definition at line 112 of file mpi.c.

◆ METHOD_FN() [5/11]

static void METHOD_FN ( thread_fini_action  )
static

Definition at line 120 of file mpi.c.

◆ METHOD_FN() [6/11]

static void METHOD_FN ( stop  )
static

Definition at line 126 of file mpi.c.

◆ METHOD_FN() [7/11]

static void METHOD_FN ( shutdown  )
static

Definition at line 134 of file mpi.c.

◆ METHOD_FN() [8/11]

static bool METHOD_FN ( supports_event  ,
const char *  ev_str 
)
static

Definition at line 142 of file mpi.c.

Here is the call graph for this function:

◆ METHOD_FN() [9/11]

static void METHOD_FN ( process_event_list  ,
int  lush_metrics 
)
static

Definition at line 151 of file mpi.c.

Here is the call graph for this function:

◆ METHOD_FN() [10/11]

static void METHOD_FN ( gen_event_set  ,
int  lush_metrics 
)
static

Definition at line 166 of file mpi.c.

◆ METHOD_FN() [11/11]

static void METHOD_FN ( display_events  )
static

Definition at line 175 of file mpi.c.

Variable Documentation

◆ hpmpi_metric_id

int hpmpi_metric_id = -1
static

Definition at line 86 of file mpi.c.