7.0 (revision 7784de1c)
SCOREP_MetricTypes.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (http://www.score-p.org)
3  *
4  * Copyright (c) 2009-2013,
5  * RWTH Aachen University, Germany
6  *
7  * Copyright (c) 2009-2013,
8  * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
9  *
10  * Copyright (c) 2009-2016,
11  * Technische Universitaet Dresden, Germany
12  *
13  * Copyright (c) 2009-2013,
14  * University of Oregon, Eugene, USA
15  *
16  * Copyright (c) 2009-2013,
17  * Forschungszentrum Juelich GmbH, Germany
18  *
19  * Copyright (c) 2009-2013,
20  * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
21  *
22  * Copyright (c) 2009-2013,
23  * Technische Universitaet Muenchen, Germany
24  *
25  * This software may be modified and distributed under the terms of
26  * a BSD-style license. See the COPYING file in the package base
27  * directory for details.
28  *
29  */
30 
38 #ifndef SCOREP_METRIC_TYPES_H
39 #define SCOREP_METRIC_TYPES_H
40 
41 #include <stdint.h>
42 
43 /* *********************************************************************
44  * Type definitions
45  **********************************************************************/
46 
47 
48 
54 {
69 
70  SCOREP_INVALID_METRIC_SOURCE_TYPE
72 
77 {
88 
89  SCOREP_INVALID_METRIC_PROFILING_TYPE
91 
98 {
105 
106  SCOREP_INVALID_METRIC_VALUE_TYPE
108 
133 typedef enum SCOREP_MetricMode
134 {
143 
150 
157 
158  SCOREP_INVALID_METRIC_MODE
160 
165 typedef enum SCOREP_MetricBase
166 {
171 
174 
180 {
182  const char* name;
184  const char* description;
194  int64_t exponent;
196  const char* unit;
200 
205 typedef enum SCOREP_MetricPer
206 {
226 
227  SCOREP_METRIC_PER_MAX
229 
235 {
276 
277  SCOREP_METRIC_SYNC_TYPE_MAX
279 
286 {
288  uint64_t timestamp;
290  uint64_t value;
292 
298 {
305 
306  SCOREP_METRIC_SYNCHRONIZATION_MODE_MAX
308 
309 
310 #endif /* SCOREP_METRIC_TYPES_H */
Definition: SCOREP_MetricTypes.h:263
uint64_t value
Definition: SCOREP_MetricTypes.h:290
SCOREP_MetricSynchronizationMode
Definition: SCOREP_MetricTypes.h:297
SCOREP_MetricBase
Definition: SCOREP_MetricTypes.h:165
SCOREP_MetricProfilingType profiling_type
Definition: SCOREP_MetricTypes.h:198
Definition: SCOREP_MetricTypes.h:172
Definition: SCOREP_MetricTypes.h:170
const char * description
Definition: SCOREP_MetricTypes.h:184
Definition: SCOREP_MetricTypes.h:145
SCOREP_MetricPer
Definition: SCOREP_MetricTypes.h:205
Definition: SCOREP_MetricTypes.h:154
Definition: SCOREP_MetricTypes.h:136
Definition: SCOREP_MetricTypes.h:213
Definition: SCOREP_MetricTypes.h:100
Definition: SCOREP_MetricTypes.h:142
SCOREP_MetricValueType
Definition: SCOREP_MetricTypes.h:97
Definition: SCOREP_MetricTypes.h:168
Definition: SCOREP_MetricTypes.h:302
Definition: SCOREP_MetricTypes.h:275
Definition: SCOREP_MetricTypes.h:285
Definition: SCOREP_MetricTypes.h:220
SCOREP_MetricMode
Definition: SCOREP_MetricTypes.h:133
SCOREP_MetricBase base
Definition: SCOREP_MetricTypes.h:192
Definition: SCOREP_MetricTypes.h:102
Definition: SCOREP_MetricTypes.h:179
const char * name
Definition: SCOREP_MetricTypes.h:182
const char * unit
Definition: SCOREP_MetricTypes.h:196
Definition: SCOREP_MetricTypes.h:56
Definition: SCOREP_MetricTypes.h:244
Definition: SCOREP_MetricTypes.h:149
SCOREP_MetricSourceType
Definition: SCOREP_MetricTypes.h:53
Definition: SCOREP_MetricTypes.h:87
Definition: SCOREP_MetricTypes.h:79
Definition: SCOREP_MetricTypes.h:147
SCOREP_MetricMode mode
Definition: SCOREP_MetricTypes.h:188
Definition: SCOREP_MetricTypes.h:68
Definition: SCOREP_MetricTypes.h:64
Definition: SCOREP_MetricTypes.h:156
Definition: SCOREP_MetricTypes.h:304
Definition: SCOREP_MetricTypes.h:208
Definition: SCOREP_MetricTypes.h:85
Definition: SCOREP_MetricTypes.h:152
Definition: SCOREP_MetricTypes.h:225
SCOREP_MetricSourceType source_type
Definition: SCOREP_MetricTypes.h:186
SCOREP_MetricProfilingType
Definition: SCOREP_MetricTypes.h:76
SCOREP_MetricSynchronicity
Definition: SCOREP_MetricTypes.h:234
Definition: SCOREP_MetricTypes.h:62
int64_t exponent
Definition: SCOREP_MetricTypes.h:194
Definition: SCOREP_MetricTypes.h:300
Definition: SCOREP_MetricTypes.h:140
Definition: SCOREP_MetricTypes.h:60
Definition: SCOREP_MetricTypes.h:83
Definition: SCOREP_MetricTypes.h:81
Definition: SCOREP_MetricTypes.h:104
Definition: SCOREP_MetricTypes.h:66
Definition: SCOREP_MetricTypes.h:138
Definition: SCOREP_MetricTypes.h:58
SCOREP_MetricValueType value_type
Definition: SCOREP_MetricTypes.h:190
Definition: SCOREP_MetricTypes.h:254
uint64_t timestamp
Definition: SCOREP_MetricTypes.h:288