1.2 (revision 3183)

OTF2_MarkerWriter.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_WRITER_H
00014 #define OTF2_MARKER_WRITER_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 #include <otf2/OTF2_Marker.h>
00034 
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif /* __cplusplus */
00039 
00040 
00042 typedef struct OTF2_MarkerWriter_struct OTF2_MarkerWriter;
00043 
00044 
00059 OTF2_ErrorCode
00060 OTF2_MarkerWriter_WriteDefMarker( OTF2_MarkerWriter*  writerHandle,
00061                                   OTF2_MarkerRef      self,
00062                                   const char*         markerGroup,
00063                                   const char*         markerCategory,
00064                                   OTF2_MarkerSeverity severity );
00065 
00087 OTF2_ErrorCode
00088 OTF2_MarkerWriter_WriteMarker( OTF2_MarkerWriter* writerHandle,
00089                                uint64_t           time,
00090                                uint64_t           duration,
00091                                OTF2_MarkerRef     marker,
00092                                OTF2_MarkerScope   scope,
00093                                uint64_t           scopeRef,
00094                                const char*        text );
00095 
00096 #ifdef __cplusplus
00097 }
00098 #endif /* __cplusplus */
00099 
00100 
00101 #endif /* !OTF2_MARKER_WRITER_H */