1.2 (revision 3183)

OTF2_Marker.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of the Score-P software (http://www.score-p.org)
00003  *
00004  * Copyright (c) 2013,
00005  * Technische Universitaet Dresden, Germany
00006  *
00007  * This software may be modified and distributed under the terms of
00008  * a BSD-style license.  See the COPYING file in the package base
00009  * directory for details.
00010  */
00011 
00012 
00013 #ifndef OTF2_MARKER_H
00014 #define OTF2_MARKER_H
00015 
00016 
00024 #include <stdint.h>
00025 
00026 
00027 #include <otf2/OTF2_ErrorCodes.h>
00028 
00029 
00030 #include <otf2/OTF2_Definitions.h>
00031 
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif /* __cplusplus */
00036 
00037 
00039 typedef uint32_t OTF2_MarkerRef;
00041 #define OTF2_UNDEFINED_MARKER ( ( OTF2_MarkerRef )OTF2_UNDEFINED_UINT32 )
00042 
00043 
00045 typedef uint8_t OTF2_MarkerSeverity;
00046 
00048 enum OTF2_MarkerSeverity_enum
00049 {
00051     OTF2_SEVERITY_NONE,
00053     OTF2_SEVERITY_LOW,
00055     OTF2_SEVERITY_MEDIUM,
00057     OTF2_SEVERITY_HIGH
00058 };
00059 
00060 
00062 typedef uint8_t OTF2_MarkerScope;
00063 
00065 enum OTF2_MarkerScope_enum
00066 {
00068     OTF2_MARKER_SCOPE_GLOBAL,
00070     OTF2_MARKER_SCOPE_LOCATION,
00072     OTF2_MARKER_SCOPE_LOCATION_GROUP,
00074     OTF2_MARKER_SCOPE_SYSTEM_TREE_NODE,
00076     OTF2_MARKER_SCOPE_GROUP,
00078     OTF2_MARKER_SCOPE_COMM
00079 };
00080 
00081 
00082 #ifdef __cplusplus
00083 }
00084 #endif /* __cplusplus */
00085 
00086 
00087 #endif /* !OTF2_MARKER_H */