pomp2_user_lib.h
Go to the documentation of this file.
/*
* This file is part of the Score-P software (http://www.score-p.org)
*
* Copyright (c) 2009-2013,
* RWTH Aachen University, Germany
*
* Copyright (c) 2009-2013,
* Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
*
* Copyright (c) 2009-2013,
* Technische Universitaet Dresden, Germany
*
* Copyright (c) 2009-2013,
* University of Oregon, Eugene, USA
*
* Copyright (c) 2009-2013,
* Forschungszentrum Juelich GmbH, Germany
*
* Copyright (c) 2009-2013,
* German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
*
* Copyright (c) 2009-2013,
* Technische Universitaet Muenchen, 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_LIB_H
#define POMP2_USER_LIB_H
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Avoid warnings from Orcale Studio Compiler if nowait clauses are added
* to reduction loops. Opari always inserts a barrier after such loops, so
* the nowait is save.*/
#if defined( __SUNPRO_C )
#pragma error_messages (off, E_NOWAIT_REDUCTION_USE)
#endif
#ifndef __opari2_region_handle
typedef void* OPARI2_Region_handle;
#define __opari2_region_handle
#endif
typedef OPARI2_Region_handle POMP2_USER_Region_handle;
extern size_t
POMP2_USER_Get_num_regions( void );
extern void
POMP2_USER_Init_regions( void );
extern const char*
POMP2_Get_opari2_version( void );
extern void
POMP2_Finalize( void );
extern void
POMP2_Init( void );
extern void
POMP2_Off( void );
extern void
POMP2_On( void );
extern void
POMP2_Begin( POMP2_USER_Region_handle* pomp2_handle,
const char ctc_string[] );
extern void
POMP2_End( POMP2_USER_Region_handle* pomp2_handle );
extern void
POMP2_USER_Assign_handle( POMP2_USER_Region_handle* pomp2_handle,
const char ctc_string[] );
#ifdef __cplusplus
}
#endif
#endif
POMP2_Begin
void POMP2_Begin(POMP2_USER_Region_handle *pomp2_handle, const char ctc_string[])
POMP2_Off
void POMP2_Off(void)
POMP2_Init
void POMP2_Init(void)
POMP2_End
void POMP2_End(POMP2_USER_Region_handle *pomp2_handle)
POMP2_Finalize
void POMP2_Finalize(void)
POMP2_USER_Assign_handle
void POMP2_USER_Assign_handle(POMP2_USER_Region_handle *pomp2_handle, const char ctc_string[])
POMP2_On
void POMP2_On(void)
POMP2_USER_Get_num_regions
size_t POMP2_USER_Get_num_regions(void)
OPARI2_Region_handle
void * OPARI2_Region_handle
Definition: pomp2_user_lib.h:67
POMP2_Get_opari2_version
const char * POMP2_Get_opari2_version(void)
POMP2_USER_Init_regions
void POMP2_USER_Init_regions(void)