pomp2_user_region_info.h
Go to the documentation of this file.
/*
* This file is part of the Score-P software (http://www.score-p.org)
*
* Copyright (c) 2014
* Forschungszentrum Juelich GmbH, Germany
*
* This software may be modified and distributed under the terms of
* a BSD-style license. See the COPYING file in the package base
* directory for details.
*
*/
/****************************************************************************
** SCALASCA http://www.scalasca.org/ **
** KOJAK http://www.fz-juelich.de/jsc/kojak/ **
*****************************************************************************
** Copyright (c) 1998-2009 **
** Forschungszentrum Juelich, Juelich Supercomputing Centre **
** **
** See the file COPYRIGHT in the package base directory for details **
****************************************************************************/
#ifndef POMP2_USER_REGION_INFO_H
#define POMP2_USER_REGION_INFO_H
#include "opari2_region_info.h"
#include <stdbool.h>
typedef enum
{
POMP2_USER_no_type = 0,
POMP2_USER_Region
} POMP2_USER_Region_type;
const char*
pomp2UserRegionType2String( POMP2_USER_Region_type regionType );
typedef struct
{
OPARI2_REGION_INFO
POMP2_USER_Region_type mRegionType;
char* mUserRegionName;
} POMP2_USER_Region_info;
#define CTC_USER_REGION_TOKENS \
CTC_USER_Region_name
#define CTC_USER_REGION_TOKEN_MAP_ENTRIES \
{ "userRegionName", CTC_USER_Region_name }
void
ctcString2UserRegionInfo( const char ctcString[],
POMP2_USER_Region_info* regionInfo );
void
freePOMP2UserRegionInfoMembers( POMP2_USER_Region_info* regionInfo );
#endif /* POMP2_USER_REGION_INFO_H */
pomp2UserRegionType2String
const char * pomp2UserRegionType2String(POMP2_USER_Region_type regionType)
POMP2_USER_Region_info
This struct stores all information on a user defined region, like the name or corresponding source li...
Definition: pomp2_user_region_info.h:61
freePOMP2UserRegionInfoMembers
void freePOMP2UserRegionInfoMembers(POMP2_USER_Region_info *regionInfo)
POMP2_USER_Region_info::mUserRegionName
char * mUserRegionName
Definition: pomp2_user_region_info.h:77
POMP2_USER_Region_type
POMP2_USER_Region_type
Definition: pomp2_user_region_info.h:43
ctcString2UserRegionInfo
void ctcString2UserRegionInfo(const char ctcString[], POMP2_USER_Region_info *regionInfo)
opari2_region_info.h