1.4 (revision 3771)
otf2/OTF2_GlobalSnapReader.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_GLOBAL_SNAP_READER_H
00014 #define OTF2_GLOBAL_SNAP_READER_H
00015 
00016 
00029 #include <stdint.h>
00030 
00031 
00032 #include <otf2/OTF2_ErrorCodes.h>
00033 
00034 
00035 #include <otf2/OTF2_SnapReader.h>
00036 
00037 
00038 #include <otf2/OTF2_GlobalSnapReaderCallbacks.h>
00039 
00040 
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif /* __cplusplus */
00044 
00045 
00064 OTF2_ErrorCode
00065 OTF2_GlobalSnapReader_SetCallbacks( OTF2_GlobalSnapReader*                reader,
00066                                     const OTF2_GlobalSnapReaderCallbacks* callbacks,
00067                                     void*                                 userData );
00068 
00069 
00085 OTF2_ErrorCode
00086 OTF2_GlobalSnapReader_ReadSnapshots( OTF2_GlobalSnapReader* reader,
00087                                      uint64_t               recordsToRead,
00088                                      uint64_t*              recordsRead );
00089 
00090 
00091 #ifdef __cplusplus
00092 }
00093 #endif /* __cplusplus */
00094 
00095 
00096 #endif /* !OTF2_GLOBAL_EVT_READER */