Multi-ApplicationOnlineProfiling
2.1
|
#include <mpi.h>
#include <limits.h>
#include <string.h>
#include <stdio.h>
#include "VMPI_stream.h"
Go to the source code of this file.
Data Structures | |
struct | VMPI_Partition_desc |
Structure holding partitions descriptions. More... | |
struct | VMPI_Status |
Global status handling. More... | |
struct | VMPI_Map |
Defines a map. More... | |
Macros | |
#define | VMPI_NG_ARBITRARY_VALUE 0x1234567llu |
Defines of magic values. More... | |
#define | VMPI_NG_MAXIMUM_TAGS 1000000 |
Maximum number of tags allowed. More... | |
#define | MPI_COMM_UNIVERSE ((MPI_Comm)VMPI_NG_ARBITRARY_VALUE) |
This value is used to refer to MPI_COMM_UNIVERSE from the host application. More... | |
#define | VMPI_PNAME_LEN 200 |
Maximum size of a program name. More... | |
#define | VMPI_COMMAND_LEN 1024 |
Maximum command line name. More... | |
Enumerations | |
enum | VMPI_Return_Status { VMPI_EAGAIN =-3, VMPI_ERROR =-2, VMPI_MEM =-1, VMPI_SUCCESS =0 } |
Enum for error handling. More... | |
enum | VMPI_Map_mode { VMPI_MAP_FIXED, VMPI_MAP_RANDOM, VMPI_MAP_ROUND_ROBIN } |
Defines mapping method. More... | |
Functions | |
int | VMPI_Enabled () |
indicates if VMPI is enabled More... | |
int | VMPI_Init (int *argc, char ***argv) |
Initializes VMPI. More... | |
int | VMPI_Release () |
Releases VMPI. More... | |
static int | VMPI_Get_partition_id () |
Returns the unique ID of the current partition. More... | |
static VMPI_Partition_desc * | VMPI_Get_desc () |
Returns current partition's descriptions. More... | |
static int | VMPI_Get_partition_count () |
Return the number of partitions. More... | |
static MPI_Comm | VMPI_Get_partition_comm () |
Returns current partition's communicator. More... | |
static int | VMPI_Set_partition_name (char *name) |
Used to setup partition name for a given executable. More... | |
static int | VMPI_Set_trace_trampoline (char *trampoline_partition, int(*vmpi_trampoline)(int argc, char **argv)) |
static int | VMPI_In_trampoline () |
static VMPI_Partition_desc * | VMPI_Get_desc_by_name (char *name) |
Find a descriptions by its name. More... | |
static VMPI_Partition_desc * | VMPI_Get_desc_by_id (int id) |
Find a descriptions by its ID. More... | |
void | VMPI_Display_desc (VMPI_Partition_desc *desc) |
Prints all the fields of a partition descriptions. More... | |
void | VMPI_Display_descs () |
Display all the partitions descriptions in order. More... | |
static void | VMPI_Map_clear (VMPI_Map *map) |
Clears a map. More... | |
int | VMPI_Map_partitions (int target_partition, VMPI_Map_mode mode, VMPI_Map *map) |
Map to another partition (can be additive) More... | |
void | VMPI_Print_map (VMPI_Map *map) |
static MPI_Comm | VMPI_Get_vmpi_comm () |
Get VMPI's copy of MPI_COMM_WORLD. More... | |
int | VMPI_get_new_tag () |
Book a tag on VMPI's communicator for this process. More... | |
Variables | |
struct VMPI_Status | __vmpi_status |
global VMPI status More... | |
|
inlinestatic |