Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Model

This module contains the Data_Model part of MALP. More...

Modules

 Wrapped symbols
 This section relates to "manually" wrapped symbols.
 

Data Structures

union  MALP_Trace_event_t
 union defining which data can be contained into an event More...
 
struct  MALP_Trace_Event
 Struct defining an event. More...
 
struct  Event_Pack
 Struct defining a pack of events. More...
 
struct  Global_Locus
 Structure defining the global location. More...
 
struct  Pack_Locus
 Structure defining a location for an event pack. More...
 
struct  Event_Locus
 Structure defining a location for an event. More...
 
struct  MPI_Event
 Struct defining a MPI event data. More...
 
struct  Stream_Descriptor
 Structure containing data related to a stream and intended to be sent as an event (see MALP_Trace_Event) More...
 

Macros

#define EVENT_PACK_SIZE   8192
 The size of a pack of events. More...
 

Enumerations

enum  MALP_Trace_event_type {
  MALP_EVENT_NONE, MALP_EVENT_META, MALP_EVENT_MPI, MALP_EVENT_WRAPPED,
  MALP_EVENT_OTF, MALP_EVENT_MAP, MALP_EVENT_TYPE_COUNT
}
 enum defining event types More...
 
enum  Stream_type {
  MALP_NO_TYPE, MALP_NODE, MALP_PROCESS, MALP_VCPU,
  MALP_TASK, MALP_THREAD, MALP_TYPES_COUNT
}
 enum defining the type of the source of the stream More...
 
enum  Stream_Descriptor_type { DESC_BEGIN, DESC_END }
 enum defining a stream event type More...
 

Variables

static const char *const MALP_Trace_event_type_names [MALP_EVENT_TYPE_COUNT]
 List of string constants describing event types. More...
 
static const char *const Stream_type_names [MALP_TYPES_COUNT]
 

Detailed Description

This module contains the Data_Model part of MALP.

This module contains the data structure that will go through the streams. It defines every events that will be sent by the instrumented program (see Instrumentation).

Macro Definition Documentation

#define EVENT_PACK_SIZE   8192

The size of a pack of events.

Definition at line 98 of file Event_Desc.h.

Enumeration Type Documentation

enum defining event types

Enumerator
MALP_EVENT_NONE 

None type event.

MALP_EVENT_META 

The event contains meta data.

MALP_EVENT_MPI 

The event contains MPI informations.

MALP_EVENT_WRAPPED 

The event contains wrapped function informations.

MALP_EVENT_OTF 

Enter + Leave events for OTF2 compatibility.

MALP_EVENT_MAP 

MAP event.

MALP_EVENT_TYPE_COUNT 

The number of enums.

Definition at line 41 of file Event_Desc.h.

enum defining a stream event type

Enumerator
DESC_BEGIN 

event is stream creation

DESC_END 

event is stream release

Definition at line 62 of file Stream_Descriptor.h.

enum defining the type of the source of the stream

Todo:
Only MALP_PROCESS is used within MALP.
Enumerator
MALP_NO_TYPE 

No type.

MALP_NODE 

Source is a node.

MALP_PROCESS 

Source is a process.

MALP_VCPU 

Source is a virtual CPU.

MALP_TASK 

Source is a task.

MALP_THREAD 

Source is a thread.

MALP_TYPES_COUNT 

Definition at line 38 of file Stream_Descriptor.h.

Variable Documentation

const char* const MALP_Trace_event_type_names[MALP_EVENT_TYPE_COUNT]
static
Initial value:
=
{
"None",
"Meta-Data",
"MPI event",
"Posix event",
"OTF_Event",
"MAP Event"
}

List of string constants describing event types.

Definition at line 55 of file Event_Desc.h.

const char* const Stream_type_names[MALP_TYPES_COUNT]
static
Initial value:
=
{
"unknown",
"node",
"process",
"VCPU",
"task",
"thread"
}

Definition at line 49 of file Stream_Descriptor.h.