Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OTF_Event_forge.h File Reference
#include <stdint.h>
#include <string.h>
#include "Event_Desc.h"
Include dependency graph for OTF_Event_forge.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OTF_EVENT_COUNT   (MALP_OTF_ANALYSER_INFO_COUNT + T_MPI_COUNT + T_POSIX_COUNT)
 

Enumerations

enum  OTF_Event_reserved_str {
  MALP_OTF_ANALYSER_EMPTY_STRING = 0, MALP_OTF_ANALYSER_NODE_CLASS_STRING, MALP_OTF_ANALYSER_ROOT_NODE, MALP_OTF_ANALYSER_PROGRAM_CLASS_STRING,
  MALP_OTF_ANALYSER_FAKE_FUNCTION, MALP_OTF_ANALYSER_INFO_COUNT
}
 OTF2 id enumeration for basic information on archive. More...
 

Functions

static uint64_t OTF_Event_count ()
 
char * OTF_Event_resolve (uint64_t str_id)
 
int OTF_Event_set (uint64_t str_id, char *data)
 
int OTF_Event_forge (struct MALP_Trace_Event *otf_event, OTF_Event_type enterleave, MALP_Trace_event_type type, uint64_t subtype)
 
void OTF_Event_print (struct MALP_Trace_Event *otf_event)
 
void OTF_Event_forge_init ()
 
void OTF_Event_forge_release ()
 

Variables

static const char *const OTF_Event_names [MALP_OTF_ANALYSER_INFO_COUNT]
 

Macro Definition Documentation

#define OTF_EVENT_COUNT   (MALP_OTF_ANALYSER_INFO_COUNT + T_MPI_COUNT + T_POSIX_COUNT)

Definition at line 56 of file OTF_Event_forge.h.

Function Documentation

static uint64_t OTF_Event_count ( )
inlinestatic

Definition at line 58 of file OTF_Event_forge.h.

int OTF_Event_forge ( struct MALP_Trace_Event otf_event,
OTF_Event_type  enterleave,
MALP_Trace_event_type  type,
uint64_t  subtype 
)

Definition at line 116 of file OTF_Event_forge.c.

Here is the call graph for this function:

void OTF_Event_forge_init ( )

Definition at line 76 of file OTF_Event_forge.c.

Here is the call graph for this function:

void OTF_Event_forge_release ( )

Definition at line 102 of file OTF_Event_forge.c.

Here is the call graph for this function:

void OTF_Event_print ( struct MALP_Trace_Event otf_event)

Definition at line 154 of file OTF_Event_forge.c.

Here is the call graph for this function:

char* OTF_Event_resolve ( uint64_t  str_id)

Definition at line 49 of file OTF_Event_forge.c.

Here is the caller graph for this function:

int OTF_Event_set ( uint64_t  str_id,
char *  data 
)

Definition at line 57 of file OTF_Event_forge.c.

Here is the caller graph for this function:

Variable Documentation

const char* const OTF_Event_names[MALP_OTF_ANALYSER_INFO_COUNT]
static
Initial value:
=
{
"",
"Node",
"MALP Instrumented program",
"Malp_Analysis",
"Fake Function"
}

Definition at line 47 of file OTF_Event_forge.h.