Multi-ApplicationOnlineProfiling
2.1
|
#include <stdint.h>
#include "VMPI.h"
#include "Posix_Wrapp.h"
#include "Event_Desc.h"
#include "Spinlock.h"
#include "Chained_List.h"
#include "Buffered_FIFO.h"
Go to the source code of this file.
Data Structures | |
struct | Stream_Manager |
Struct defining a stream manager. More... | |
struct | Stream_Infos |
Structure describing a stream. More... | |
Macros | |
#define | MAX_PENDING_EVENT 4096 |
Defines the maximum pending events. More... | |
Functions | |
static struct Stream_Manager * | Stream_Manager () |
A getter for the stream manager. More... | |
void | Stream_Manager_init () |
Initialises the manager for current MPI process. More... | |
void | Stream_Manager_release () |
Releases the manager for current MPI process (including all streams ) More... | |
struct Stream_Infos * | Stream_MGR_new_stream (struct Stream_Descriptor *parent, Stream_type type) |
Adds a stream into the current stream manager. More... | |
void | Stream_MGR_end_stream () |
Signals end of stream. More... | |
void | Stream_Infos_init (struct Stream_Infos *info) |
Initializes a Stream_Infos. More... | |
void | Stream_Infos_release (struct Stream_Infos *info) |
Releases a Stream_Infos. More... | |
static struct Stream_Infos * | Stream_infos_get () |
Getter on the current Stream_Infos. More... | |
static void | Stream_infos_set (struct Stream_Infos *sd) |
Setter on the current Stream_Infos. More... | |
static struct Stream_Descriptor * | Stream_desc_get () |
Getter on the current Stream_Descriptor. More... | |
static void | Stream_Infos_enter_mpi () |
Indicates to the current Stream_Infos (if any) that we are enterning a MPI call. More... | |
static void | Stream_Infos_leave_mpi () |
Indicates to the current Stream_Infos (if any) that we are leaving a MPI call. More... | |
static int | Stream_Infos_is_in_mpi () |
Checks if we are currently inside a MPI call. More... | |
static void | MALP_Trace_Event_fill (struct MALP_Trace_Event *event, MALP_Trace_event_type type, uint64_t timestamp, uint64_t duration) |
Variables | |
struct Stream_Manager | __stream_Stream_Manager |
The stream manager for current MPI process. More... | |
struct Stream_Infos * | __trace_module |
This is a global Stream_Infos (not shared between threads) More... | |