Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
VMPI_stream.c File Reference
#include "VMPI_stream.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for VMPI_stream.c:

Go to the source code of this file.

Data Structures

struct  TMP_VMPI_Stream_desc
 Temporary stream description struct. More...
 

Functions

int VMPI_Stream_init (VMPI_Stream *st, size_t block_size, VMPI_Stream_load_balance lb)
 Initializes a stream should be called before any *open call. More...
 
int VMPI_Stream_push_stream (VMPI_Stream *st, int dest, int remote_tag, int local_tag, VMPI_Stream_mode mode)
 pushes a stream More...
 
int VMPI_Stream_join (VMPI_Stream *dest, VMPI_Stream *src)
 Join two streams in the same set. More...
 
int VMPI_Stream_open (VMPI_Stream *st, int dest, char *smode)
 Open a stream to dest rank, dest should do the symmetrical call. More...
 
int VMPI_Stream_open_map (VMPI_Stream *st, VMPI_Map *map, char *mode)
 Open a stream according to a mapping. More...
 
int VMPI_Stream_close (VMPI_Stream *st)
 Closes a stream and sends EOF to remote endpoints. More...
 
int VMPI_Stream_write (VMPI_Stream *st, char *buff, unsigned int block_count)
 Write data to a VMPI_Stream. More...
 
int VMPI_Stream_read (VMPI_Stream *st, char *buff, unsigned int block_count, VMPI_Stream_blocking block)
 Read data from a VMPI_Stream. More...
 
int VMPI_Stream_test_read (VMPI_Stream *st)
 Is this stream ready for read ? More...
 
int VMPI_Stream_test_write (VMPI_Stream *st)
 Is this stream ready for writing ? More...