1 #ifndef OTFAUX_THUMBNAIL_H
2 #define OTFAUX_THUMBNAIL_H
118 uint32_t* start_pixel;
143 OTFAUX_Thumbnail_getFilename(
const char* namestub,
165 OTFAUX_ThumbnailWriter_create(
const char* filename,
193 OTFAUX_ThumbnailReader_create(
const char* filename,
209 void ( *process_handler )(
void*,
Main include file for applications using OTF.
void OTFAUX_Thumbnail_handleLeave(OTFAUX_Thumbnail_Context *tn_context, uint64_t timestamp, uint64_t process)
Declare that the process process has left the current fucntion at timestamp timestamp.
Definition: OTFAUX_Thumbnail.c:169
Definition: OTFAUX_Thumbnail.c:240
Definition: OTFAUX_Thumbnail.c:376
uint32_t OTFAUX_Thumbnail_getSize(OTFAUX_Thumbnail_Context *context, uint64_t process)
Get the number of entries for the process process.
Definition: OTFAUX_Thumbnail.c:188
Definition: OTFAUX_Thumbnail.c:39
OTFAUX_Thumbnail_Context * OTFAUX_Thumbnail_create(uint64_t minTime, uint64_t maxTime, uint32_t width)
Create a context for thumbnail generation.
Definition: OTFAUX_Thumbnail.c:48
void OTFAUX_Thumbnail_handleEnter(OTFAUX_Thumbnail_Context *tn_context, uint64_t timestamp, uint64_t process, uint32_t function)
Declare that the process process has entered the fucntion function at timestamp timestamp.
Definition: OTFAUX_Thumbnail.c:138
Definition: OTFAUX_Thumbnail.h:117
void OTFAUX_Thumbnail_declareProcess(OTFAUX_Thumbnail_Context *tn_context, uint64_t process)
Declares that the process process should be handled by this context.
Definition: OTFAUX_Thumbnail.c:123
void OTFAUX_Thumbnail_destroy(OTFAUX_Thumbnail_Context *tn_context)
Destroy a context previously created with OTFAUX_Thumbnail_Create.
Definition: OTFAUX_Thumbnail.c:60
file handles management structure
Definition: OTF_FileManager.c:32
int OTFAUX_Thumbnail_getData(OTFAUX_Thumbnail_Context *context, uint64_t process, OTFAUX_Thumbnail_Data *data)
Get the collected thumbnail data for process process.
Definition: OTFAUX_Thumbnail.c:204