Arm MAP Metric Plugin Interface
Metric Plugin Interface for MAP
allinea_metric_plugin_template.h File Reference

Header containing declarations for functions to be implemented by any Arm MAP metric plugin library. More...

Include dependency graph for allinea_metric_plugin_template.h:

Go to the source code of this file.

Functions

int allinea_plugin_cleanup (plugin_id_t plugin_id, void *data)
 Cleans a metric plugin being unloaded. More...
 
int allinea_plugin_initialize (plugin_id_t plugin_id, void *data)
 Initialises a metric plugin. More...
 
int mymetric_getDoubleValue (metric_id_t id, struct timespec *currentSampleTime, double *outValue)
 Example of a floating-point metric getter function. More...
 
int mymetric_getIntValue (metric_id_t id, struct timespec *currentSampleTime, uint64_t *outValue)
 Example of an integer metric getter function. More...
 
int start_profiling (plugin_id_t plugin_id)
 Called when the sampler is initialised. More...
 
int stop_profiling (plugin_id_t plugin_id)
 Called after the sampler stops sampling. More...
 

Detailed Description

Header containing declarations for functions to be implemented by any Arm MAP metric plugin library.