HPCToolkit
cct2metrics.h File Reference
#include <stdbool.h>
#include <hpcrun/metrics.h>
#include <cct/cct.h>
Include dependency graph for cct2metrics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct cct2metrics_t cct2metrics_t
 

Enumerations

enum  update_metric_t { SET, INCR }
 

Functions

void hpcrun_cct2metrics_init (cct2metrics_t **map)
 
metric_set_thpcrun_reify_metric_set (cct_node_id_t cct_id)
 
metric_set_thpcrun_get_metric_set (cct_node_id_t cct_id)
 
metric_set_thpcrun_get_metric_set_specific (cct2metrics_t **map, cct_node_id_t cct_id)
 
bool hpcrun_has_metric_set (cct_node_id_t cct_id)
 
void cct2metrics_assoc (cct_node_t *node, metric_set_t *metrics)
 
static void cct_metric_data_update (int metric_id, cct_node_t *x, update_metric_t type, cct_metric_data_t incr)
 
static void cct_metric_data_set (int metric_id, cct_node_t *x, cct_metric_data_t val)
 
static void cct_metric_data_increment (int metric_id, cct_node_t *x, cct_metric_data_t incr)
 

Typedef Documentation

◆ cct2metrics_t

typedef struct cct2metrics_t cct2metrics_t

Definition at line 17 of file cct2metrics.h.

Enumeration Type Documentation

◆ update_metric_t

Enumerator
SET 
INCR 

Definition at line 58 of file cct2metrics.h.

Function Documentation

◆ cct2metrics_assoc()

void cct2metrics_assoc ( cct_node_t node,
metric_set_t metrics 
)
Here is the caller graph for this function:

◆ cct_metric_data_increment()

static void cct_metric_data_increment ( int  metric_id,
cct_node_t x,
cct_metric_data_t  incr 
)
inlinestatic

Definition at line 86 of file cct2metrics.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cct_metric_data_set()

static void cct_metric_data_set ( int  metric_id,
cct_node_t x,
cct_metric_data_t  val 
)
inlinestatic

Definition at line 78 of file cct2metrics.h.

Here is the call graph for this function:

◆ cct_metric_data_update()

static void cct_metric_data_update ( int  metric_id,
cct_node_t x,
update_metric_t  type,
cct_metric_data_t  incr 
)
inlinestatic

Definition at line 61 of file cct2metrics.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_cct2metrics_init()

void hpcrun_cct2metrics_init ( cct2metrics_t **  map)

Definition at line 52 of file cct2metrics.c.

Here is the caller graph for this function:

◆ hpcrun_get_metric_set()

metric_set_t* hpcrun_get_metric_set ( cct_node_id_t  cct_id)

Definition at line 163 of file cct2metrics.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_get_metric_set_specific()

metric_set_t* hpcrun_get_metric_set_specific ( cct2metrics_t **  map,
cct_node_id_t  cct_id 
)

Definition at line 135 of file cct2metrics.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_has_metric_set()

bool hpcrun_has_metric_set ( cct_node_id_t  cct_id)

Definition at line 172 of file cct2metrics.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_reify_metric_set()

metric_set_t* hpcrun_reify_metric_set ( cct_node_id_t  cct_id)

Definition at line 115 of file cct2metrics.c.

Here is the call graph for this function:
Here is the caller graph for this function: