#include <stdbool.h>
#include <stdlib.h>
#include <assert.h>
#include "monitor.h"
#include "metrics.h"
#include <memory/hpcrun-malloc.h>
#include <messages/messages.h>
#include <cct/cct.h>
#include <lib/prof-lean/hpcio.h>
#include <lib/prof-lean/hpcfmt.h>
#include <lib/prof-lean/hpcrun-fmt.h>
Go to the source code of this file.
|
kind_info_t * | hpcrun_metrics_new_kind (void) |
|
void | hpcrun_metrics_switch_kind (kind_info_t *kind) |
|
bool | hpcrun_metrics_finalized () |
|
void | hpcrun_pre_allocate_metrics (size_t num) |
|
int | hpcrun_get_num_metrics () |
|
void | hpcrun_finalize_metrics () |
|
metric_desc_t * | hpcrun_id2metric (int metric_id) |
|
metric_desc_p_tbl_t * | hpcrun_get_metric_tbl () |
|
metric_list_t * | hpcrun_get_metric_data () |
|
metric_upd_proc_t * | hpcrun_get_metric_proc (int metric_id) |
|
int | hpcrun_new_metric_of_kind (kind_info_t *kind) |
|
int | hpcrun_new_metric (void) |
|
metric_desc_t * | hpcrun_set_metric_info_w_fn (int metric_id, const char *name, MetricFlags_ValFmt_t valFmt, size_t period, metric_upd_proc_t upd_fn, metric_desc_properties_t prop) |
|
metric_desc_t * | hpcrun_set_metric_and_attributes (int metric_id, const char *name, MetricFlags_ValFmt_t valFmt, size_t period, metric_desc_properties_t prop, uint8_t show, uint8_t show_percent) |
|
metric_desc_t * | hpcrun_set_metric_info_and_period (int metric_id, const char *name, MetricFlags_ValFmt_t valFmt, size_t period, metric_desc_properties_t prop) |
|
metric_desc_t * | hpcrun_set_metric_info (int metric_id, const char *name) |
|
void | hpcrun_set_metric_name (int metric_id, char *name) |
|
metric_set_t * | hpcrun_metric_set_new (void) |
|
cct_metric_data_t * | hpcrun_metric_set_loc (metric_set_t *s, int id) |
|
void | hpcrun_metric_std (int metric_id, metric_set_t *set, char operation, hpcrun_metricVal_t val) |
|
void | hpcrun_metric_std_set (int metric_id, metric_set_t *set, hpcrun_metricVal_t value) |
|
void | hpcrun_metric_std_inc (int metric_id, metric_set_t *set, hpcrun_metricVal_t incr) |
|
void | hpcrun_metric_std_min (int metric_id, metric_set_t *set, hpcrun_metricVal_t val) |
|
void | hpcrun_metric_std_max (int metric_id, metric_set_t *set, hpcrun_metricVal_t val) |
|
void | hpcrun_metric_set_dense_copy (cct_metric_data_t *dest, metric_set_t *set, int num_metrics) |
|
◆ OPERATION_ASSIGN
#define OPERATION_ASSIGN '=' |
◆ OPERATION_INCREMENT
#define OPERATION_INCREMENT '+' |
◆ OPERATION_MAX
#define OPERATION_MAX '>' |
◆ OPERATION_MIN
#define OPERATION_MIN '<' |
◆ hpcrun_finalize_metrics()
void hpcrun_finalize_metrics |
( |
void |
| ) |
|
◆ hpcrun_get_metric_data()
◆ hpcrun_get_metric_proc()
◆ hpcrun_get_metric_tbl()
metric_desc_p_tbl_t* hpcrun_get_metric_tbl |
( |
void |
| ) |
|
◆ hpcrun_get_num_metrics()
int hpcrun_get_num_metrics |
( |
void |
| ) |
|
◆ hpcrun_id2metric()
◆ hpcrun_metric_set_dense_copy()
◆ hpcrun_metric_set_loc()
◆ hpcrun_metric_set_new()
◆ hpcrun_metric_std()
◆ hpcrun_metric_std_inc()
◆ hpcrun_metric_std_max()
◆ hpcrun_metric_std_min()
◆ hpcrun_metric_std_set()
◆ hpcrun_metrics_finalized()
bool hpcrun_metrics_finalized |
( |
void |
| ) |
|
◆ hpcrun_metrics_new_kind()
◆ hpcrun_metrics_switch_kind()
◆ hpcrun_new_metric()
int hpcrun_new_metric |
( |
void |
| ) |
|
◆ hpcrun_new_metric_of_kind()
◆ hpcrun_pre_allocate_metrics()
void hpcrun_pre_allocate_metrics |
( |
size_t |
num | ) |
|
◆ hpcrun_set_metric_and_attributes()
◆ hpcrun_set_metric_info()
metric_desc_t* hpcrun_set_metric_info |
( |
int |
metric_id, |
|
|
const char * |
name |
|
) |
| |
◆ hpcrun_set_metric_info_and_period()
◆ hpcrun_set_metric_info_w_fn()
◆ hpcrun_set_metric_name()
void hpcrun_set_metric_name |
( |
int |
metric_id, |
|
|
char * |
name |
|
) |
| |
◆ current_insert
◆ current_kind
◆ has_set_max_metrics
bool has_set_max_metrics = false |
|
static |
◆ id2metric
◆ kinds
◆ metric_data
◆ metric_proc_tbl
◆ metric_tbl
metric_desc_p_tbl_t metric_tbl |
|
static |
◆ n_metrics
◆ null_metrics
◆ pre_alloc
◆ proc_map