OpenMPI  0.1.1
OTFAUX_Thumbnail.h File Reference

Provides a module to collect data for thumbnail generation. More...

#include <otf.h>

Go to the source code of this file.

Data Structures

struct  OTFAUX_Thumbnail_Data
 

Typedefs

typedef struct
OTFAUX_Thumbnail_Context 
OTFAUX_Thumbnail_Context
 Opaque type for using the thumbnail module. More...
 
typedef struct
OTFAUX_ThumbnailWriter 
OTFAUX_ThumbnailWriter
 
typedef struct
OTFAUX_ThumbnailReader 
OTFAUX_ThumbnailReader
 

Functions

OTFAUX_Thumbnail_ContextOTFAUX_Thumbnail_create (uint64_t minTime, uint64_t maxTime, uint32_t width)
 Create a context for thumbnail generation. More...
 
void OTFAUX_Thumbnail_destroy (OTFAUX_Thumbnail_Context *tn_context)
 Destroy a context previously created with OTFAUX_Thumbnail_Create. More...
 
void OTFAUX_Thumbnail_declareProcess (OTFAUX_Thumbnail_Context *tn_context, uint64_t process)
 Declares that the process process should be handled by this context. More...
 
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. More...
 
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. More...
 
uint32_t OTFAUX_Thumbnail_getSize (OTFAUX_Thumbnail_Context *context, uint64_t process)
 Get the number of entries for the process process. More...
 
int OTFAUX_Thumbnail_getData (OTFAUX_Thumbnail_Context *context, uint64_t process, OTFAUX_Thumbnail_Data *data)
 Get the collected thumbnail data for process process. More...
 
char * OTFAUX_Thumbnail_getFilename (const char *namestub, size_t length, char *name_buffer)
 
OTFAUX_ThumbnailWriterOTFAUX_ThumbnailWriter_create (const char *filename, uint32_t height, uint32_t width, OTF_FileManager *manager)
 
int OTFAUX_ThumbnailWriter_destroy (OTFAUX_ThumbnailWriter *tn_writer)
 
int OTFAUX_ThumbnailWriter_close (OTFAUX_ThumbnailWriter *tn_writer)
 
int OTFAUX_ThumbnailWriter_writeProcess (OTFAUX_ThumbnailWriter *tn_writer, uint64_t process, OTFAUX_Thumbnail_Data *data)
 
OTFAUX_ThumbnailReaderOTFAUX_ThumbnailReader_create (const char *filename, OTF_FileManager *manager)
 
int OTFAUX_ThumbnailReader_destroy (OTFAUX_ThumbnailReader *tn_reader)
 
int OTFAUX_ThumbnailReader_close (OTFAUX_ThumbnailReader *tn_reader)
 
int OTFAUX_ThumbnailReader_getDimension (OTFAUX_ThumbnailReader *tn_reader, uint32_t *height, uint32_t *width)
 
int OTFAUX_ThumbnailReader_read (OTFAUX_ThumbnailReader *tn_reader, void(*process_handler)(void *, uint64_t, uint32_t, uint32_t), void *data)
 

Detailed Description

Provides a module to collect data for thumbnail generation.