![]() |
1.2 (revision 3183)
|
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_SNAP_READER_H 00014 #define OTF2_SNAP_READER_H 00015 00016 00025 #include <stdint.h> 00026 00027 00028 #include <otf2/OTF2_ErrorCodes.h> 00029 00030 00031 #include <otf2/OTF2_Events.h> 00032 #include <otf2/OTF2_Definitions.h> 00033 #include <otf2/OTF2_AttributeList.h> 00034 #include <otf2/OTF2_SnapReaderCallbacks.h> 00035 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif /* __cplusplus */ 00040 00041 00052 OTF2_ErrorCode 00053 OTF2_SnapReader_GetLocationID( const OTF2_SnapReader* reader, 00054 OTF2_LocationRef* location ); 00055 00056 00075 OTF2_ErrorCode 00076 OTF2_SnapReader_SetCallbacks( OTF2_SnapReader* reader, 00077 const OTF2_SnapReaderCallbacks* callbacks, 00078 void* userData ); 00079 00080 00093 OTF2_ErrorCode 00094 OTF2_SnapReader_Seek( OTF2_SnapReader* reader, 00095 uint64_t req_time, 00096 bool* found ); 00097 00098 00112 OTF2_ErrorCode 00113 OTF2_SnapReader_ReadSnapshots( OTF2_SnapReader* reader, 00114 uint64_t recordsToRead, 00115 uint64_t* recordsRead ); 00116 00117 00118 #ifdef __cplusplus 00119 } 00120 #endif /* __cplusplus */ 00121 00122 00123 #endif /* !OTF2_SNAP_READER_H */