2.0.4 (revision 1809)
OpenMP Pragma And Region Instrumentor
pomp2_user_region_info.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) 2014
5  * Forschungszentrum Juelich GmbH, Germany
6  *
7  * This software may be modified and distributed under the terms of
8  * a BSD-style license. See the COPYING file in the package base
9  * directory for details.
10  *
11  */
12 /****************************************************************************
13 ** SCALASCA http://www.scalasca.org/ **
14 ** KOJAK http://www.fz-juelich.de/jsc/kojak/ **
15 *****************************************************************************
16 ** Copyright (c) 1998-2009 **
17 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
18 ** **
19 ** See the file COPYRIGHT in the package base directory for details **
20 ****************************************************************************/
21 #ifndef POMP2_USER_REGION_INFO_H
22 #define POMP2_USER_REGION_INFO_H
23 
35 #include "opari2_region_info.h"
36 
37 #include <stdbool.h>
38 
43 typedef enum
44 {
45  POMP2_USER_no_type = 0,
46  POMP2_USER_Region
48 
52 const char*
54 
61 typedef struct
62 {
68  OPARI2_REGION_INFO
70  POMP2_USER_Region_type mRegionType;
80 
83 #define CTC_USER_REGION_TOKENS \
84  CTC_USER_Region_name
85 
86 #define CTC_USER_REGION_TOKEN_MAP_ENTRIES \
87  { "userRegionName", CTC_USER_Region_name }
88 
89 
123 void
124 ctcString2UserRegionInfo( const char ctcString[],
125  POMP2_USER_Region_info* regionInfo );
126 
131 void
133 
134 
135 #endif /* POMP2_USER_REGION_INFO_H */
const char * pomp2UserRegionType2String(POMP2_USER_Region_type regionType)
This struct stores all information on a user defined region, like the name or corresponding source li...
Definition: pomp2_user_region_info.h:61
void freePOMP2UserRegionInfoMembers(POMP2_USER_Region_info *regionInfo)
char * mUserRegionName
Definition: pomp2_user_region_info.h:77
POMP2_USER_Region_type
Definition: pomp2_user_region_info.h:43
void ctcString2UserRegionInfo(const char ctcString[], POMP2_USER_Region_info *regionInfo)