OpenMPI
0.1.1
|
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_Context * | OTFAUX_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_ThumbnailWriter * | OTFAUX_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_ThumbnailReader * | OTFAUX_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) |
Provides a module to collect data for thumbnail generation.