50 #include <sys/types.h> 143 uint8_t show, uint8_t show_percent);
bool hpcrun_metrics_finalized(void)
cct_metric_data_t * hpcrun_metric_set_loc(metric_set_t *s, int id)
metric_desc_t * hpcrun_set_metric_info(int metric_id, const char *name)
void hpcrun_metric_set_dense_copy(cct_metric_data_t *dest, metric_set_t *set, int num_metrics)
void hpcrun_pre_allocate_metrics(size_t num)
void metric_upd_proc_t(int metric_id, metric_set_t *set, cct_metric_data_t datum)
void hpcrun_set_metric_name(int metric_id, char *name)
struct metric_proc_map_t * next
metric_upd_proc_t * hpcrun_get_metric_proc(int metric_id)
void hpcrun_metric_std_max(int metric_id, metric_set_t *set, hpcrun_metricVal_t val)
struct metric_proc_map_t metric_proc_map_t
kind_info_t * hpcrun_metrics_new_kind()
metric_set_t * hpcrun_metric_set_new(void)
void hpcrun_finalize_metrics(void)
void hpcrun_metric_std_min(int metric_id, metric_set_t *set, hpcrun_metricVal_t val)
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)
cct_metric_data_t(* metric_bin_fn)(cct_metric_data_t v1, cct_metric_data_t v2)
int hpcrun_new_metric(void)
metric_list_t * hpcrun_get_metric_data(void)
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)
hpcrun_metricVal_t cct_metric_data_t
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_id2metric(int id)
void hpcrun_metric_std_set(int metric_id, metric_set_t *set, hpcrun_metricVal_t value)
metric_desc_p_tbl_t * hpcrun_get_metric_tbl(void)
void hpcrun_metric_std_inc(int metric_id, metric_set_t *set, hpcrun_metricVal_t incr)
int hpcrun_get_num_metrics(void)