Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MAP_Event.h
Go to the documentation of this file.
1 /* ############################ MALP License ############################## */
2 /* # Fri Jan 18 14:00:00 CET 2013 # */
3 /* # Copyright or (C) or Copr. Commissariat a l'Energie Atomique # */
4 /* # # */
5 /* # This software is governed by the CeCILL-C license under French law # */
6 /* # and abiding by the rules of distribution of free software. You can # */
7 /* # use, modify and/ or redistribute the software under the terms of # */
8 /* # the CeCILL-C license as circulated by CEA, CNRS and INRIA at the # */
9 /* # following URL http://www.cecill.info. # */
10 /* # # */
11 /* # The fact that you are presently reading this means that you have # */
12 /* # had knowledge of the CeCILL-C license and that you accept its # */
13 /* # terms. # */
14 /* # # */
15 /* # Authors: # */
16 /* # - BESNARD Jean-Baptiste jbbesnard@paratools.fr # */
17 /* # # */
18 /* ######################################################################## */
19 #ifndef MAP_EVENT_H
20 #define MAP_EVENT_H
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
27 #include <stdint.h>
28 
30 typedef enum
31 {
37 
39 static const char * const MAP_Metric_type_name[MAP_METRIC_COUNT] =
40 {
41  "none",
42  "uint64_t",
43  "double"
44 };
45 
47 struct MAP_Event
48 {
49  int plugin_id;
50  int metric_id;
52  double dvalue;
53  uint64_t ulivalue;
54 };
55 
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* MAP_EVENT_H */
int metric_id
Definition: MAP_Event.h:50
MAP_Metric_type
Definition: MAP_Event.h:30
double dvalue
Definition: MAP_Event.h:52
MAP_Metric_type type
Definition: MAP_Event.h:51
uint64_t ulivalue
Definition: MAP_Event.h:53
int plugin_id
Definition: MAP_Event.h:49
static const char *const MAP_Metric_type_name[MAP_METRIC_COUNT]
Definition: MAP_Event.h:39