SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
Macros | Functions
sion_internal_startptr.c File Reference
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include "sion.h"
#include "sion_debug.h"
#include "sion_error_handler.h"
#include "sion_internal.h"
#include "sion_metadata.h"
#include "sion_filedesc.h"
#include "sion_tools.h"
#include "sion_fd.h"
#include "sion_file.h"
#include "sion_hints.h"
#include "sion_printts.h"
#include "sion_internal_startptr.h"
#include "sion_internal_collstat.h"
Include dependency graph for sion_internal_startptr.c:

Go to the source code of this file.

Macros

#define _XOPEN_SOURCE   700
 
#define DFUNCTION   "_sion_calculate_set_alignment"
 Calculates the size of the first meta data block. More...
 
#define DFUNCTION   "_sion_get_size_metadatablock1"
 Calculates the size of the first meta data block. More...
 
#define DFUNCTION   "_sion_calculate_startpointers"
 Calculates the size of the first meta data block. More...
 
#define DFUNCTION   "_sion_calculate_num_collector"
 Calculates the size of the first meta data block. More...
 
#define DFUNCTION   "_sion_calculate_startpointers_collective"
 Calculates the size of the first meta data block. More...
 
#define DFUNCTION   "_sion_calculate_startpointers_collective_merge"
 Calculates the size of the first meta data block. More...
 

Functions

sion_int64 _sion_calculate_set_alignment (_sion_filedesc *sion_filedesc, int t)
 
int _sion_get_size_metadatablock1 (_sion_filedesc *sion_filedesc)
 
int _sion_calculate_startpointers (_sion_filedesc *sion_filedesc)
 
int _sion_calculate_num_collector (_sion_filedesc *sion_filedesc, _sion_collstat *collstat, int *num_collectors)
 
int _sion_calculate_startpointers_collective (_sion_filedesc *sion_filedesc)
 
int _sion_calculate_startpointers_collective_msa (_sion_filedesc *fd)
 
int _sion_calculate_startpointers_collective_merge (_sion_filedesc *sion_filedesc)
 

Macro Definition Documentation

◆ DFUNCTION [1/6]

#define DFUNCTION   "_sion_calculate_set_alignment"

Calculates the size of the first meta data block.

Calculate the start pointers for collective operations using special merge mode.

Calculate the start pointers for collective operations.

Implements a heuiristic to determine the number of collectors per file.

Calculate the start pointers.

Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
sizeif ok, otherwise -1
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
SION_SUCCESSif ok
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
*num_collector
Return values
SION_SUCCESSif ok

Definition at line 378 of file sion_internal_startptr.c.

◆ DFUNCTION [2/6]

#define DFUNCTION   "_sion_get_size_metadatablock1"

Calculates the size of the first meta data block.

Calculate the start pointers for collective operations using special merge mode.

Calculate the start pointers for collective operations.

Implements a heuiristic to determine the number of collectors per file.

Calculate the start pointers.

Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
sizeif ok, otherwise -1
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
SION_SUCCESSif ok
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
*num_collector
Return values
SION_SUCCESSif ok

Definition at line 378 of file sion_internal_startptr.c.

◆ DFUNCTION [3/6]

#define DFUNCTION   "_sion_calculate_startpointers"

Calculates the size of the first meta data block.

Calculate the start pointers for collective operations using special merge mode.

Calculate the start pointers for collective operations.

Implements a heuiristic to determine the number of collectors per file.

Calculate the start pointers.

Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
sizeif ok, otherwise -1
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
SION_SUCCESSif ok
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
*num_collector
Return values
SION_SUCCESSif ok

Definition at line 378 of file sion_internal_startptr.c.

◆ DFUNCTION [4/6]

#define DFUNCTION   "_sion_calculate_num_collector"

Calculates the size of the first meta data block.

Calculate the start pointers for collective operations using special merge mode.

Calculate the start pointers for collective operations.

Implements a heuiristic to determine the number of collectors per file.

Calculate the start pointers.

Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
sizeif ok, otherwise -1
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
SION_SUCCESSif ok
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
*num_collector
Return values
SION_SUCCESSif ok

Definition at line 378 of file sion_internal_startptr.c.

◆ DFUNCTION [5/6]

#define DFUNCTION   "_sion_calculate_startpointers_collective"

Calculates the size of the first meta data block.

Calculate the start pointers for collective operations using special merge mode.

Calculate the start pointers for collective operations.

Implements a heuiristic to determine the number of collectors per file.

Calculate the start pointers.

Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
sizeif ok, otherwise -1
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
SION_SUCCESSif ok
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
*num_collector
Return values
SION_SUCCESSif ok

Definition at line 378 of file sion_internal_startptr.c.

◆ DFUNCTION [6/6]

#define DFUNCTION   "_sion_calculate_startpointers_collective_merge"

Calculates the size of the first meta data block.

Calculate the start pointers for collective operations using special merge mode.

Calculate the start pointers for collective operations.

Implements a heuiristic to determine the number of collectors per file.

Calculate the start pointers.

Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
sizeif ok, otherwise -1
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
Return values
SION_SUCCESSif ok
Parameters
*sion_filedescsion file description struct (_sion_filedesc)
*num_collector
Return values
SION_SUCCESSif ok

Definition at line 378 of file sion_internal_startptr.c.