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

Header for the Arm MAP sampler metric plugin API, includes all other API header files. More...

#include <stdint.h>
#include <stdlib.h>
#include <time.h>
#include "allinea_metric_plugin_types.h"
#include "allinea_metric_plugin_errors.h"
#include "allinea_safe_malloc.h"
#include "allinea_safe_syscalls.h"
Include dependency graph for allinea_metric_plugin_api.h:

Go to the source code of this file.

Functions

System Info Functions

Functions that provide information about the system or the enclosing profiler.

int allinea_get_logical_core_count (void)
 Returns the number of logical cores on this system. More...
 
int allinea_get_physical_core_count (void)
 Returns the number of physical cores on this system. More...
 
int allinea_read_config_file (const char *variable, const char *metricId, char *value, int length)
 Reads the configuration file to find the value of a variable. More...
 
const char * allinea_get_custom_data (metric_id_t metricId)
 It returns the "customData" attribute of the "source" element from the metric definition defined in the xml file. More...
 

Detailed Description

Header for the Arm MAP sampler metric plugin API, includes all other API header files.