39 #ifndef SCOREP_METRIC_PLUGINS_H
40 #define SCOREP_METRIC_PLUGINS_H
151 #define SCOREP_METRIC_PLUGIN_VERSION 1
154 # define EXTERN extern "C"
156 # define EXTERN extern
160 #define SCOREP_METRIC_PLUGIN_ENTRY( _name ) \
161 EXTERN SCOREP_Metric_Plugin_Info \
162 SCOREP_MetricPlugin_ ## _name ## _get_info( void )
SCOREP_MetricSynchronizationMode
Definition: SCOREP_MetricTypes.h:297
SCOREP_MetricBase
Definition: SCOREP_MetricTypes.h:165
Definition: SCOREP_MetricPlugins.h:197
void(* set_clock_function)(uint64_t(*clock_time)(void))
Definition: SCOREP_MetricPlugins.h:339
bool(* get_optional_value)(int32_t id, uint64_t *value)
Definition: SCOREP_MetricPlugins.h:327
SCOREP_MetricBase base
Definition: SCOREP_MetricPlugins.h:186
SCOREP_MetricPer
Definition: SCOREP_MetricTypes.h:205
uint64_t delta_t
Definition: SCOREP_MetricPlugins.h:238
SCOREP_MetricValueType
Definition: SCOREP_MetricTypes.h:97
uint64_t(* get_current_value)(int32_t id)
Definition: SCOREP_MetricPlugins.h:310
Definition: SCOREP_MetricTypes.h:285
SCOREP_MetricMode
Definition: SCOREP_MetricTypes.h:133
void(* finalize)(void)
Definition: SCOREP_MetricPlugins.h:256
SCOREP_MetricMode mode
Definition: SCOREP_MetricPlugins.h:182
char * name
Definition: SCOREP_MetricPlugins.h:176
uint64_t(* get_all_values)(int32_t id, SCOREP_MetricTimeValuePair **time_value_list)
Definition: SCOREP_MetricPlugins.h:363
Types used by metric service.
SCOREP_MetricValueType value_type
Definition: SCOREP_MetricPlugins.h:184
void(* synchronize)(bool is_responsible, SCOREP_MetricSynchronizationMode sync_mode)
Definition: SCOREP_MetricPlugins.h:392
int64_t exponent
Definition: SCOREP_MetricPlugins.h:188
char * unit
Definition: SCOREP_MetricPlugins.h:190
int32_t(* add_counter)(char *metric_name)
Definition: SCOREP_MetricPlugins.h:295
SCOREP_MetricSynchronicity sync
Definition: SCOREP_MetricPlugins.h:221
char * description
Definition: SCOREP_MetricPlugins.h:178
Properties describing a metric. Provided by the get_event_info function.
Definition: SCOREP_MetricPlugins.h:173
uint64_t reserved[92]
Definition: SCOREP_MetricPlugins.h:397
SCOREP_MetricSynchronicity
Definition: SCOREP_MetricTypes.h:234
uint32_t plugin_version
Definition: SCOREP_MetricPlugins.h:207
SCOREP_MetricPer run_per
Definition: SCOREP_MetricPlugins.h:213
int32_t(* initialize)(void)
Definition: SCOREP_MetricPlugins.h:250