IOR
|
#include <stdint.h>
#include "option.h"
#include "iordef.h"
#include "aiori.h"
#include <mpi.h>
#include <mpio.h>
Go to the source code of this file.
Data Structures | |
struct | IO_BUFFERS |
struct | IOR_param_t |
struct | IOR_point_t |
struct | IOR_results_t |
struct | IOR_test_t |
Macros | |
#define | ISPOWEROFTWO(x) ((x != 0) && !(x & (x - 1))) |
Typedefs | |
typedef uint16_t | tPort |
typedef void * | hdfsFS |
typedef void * | rados_t |
typedef void * | rados_ioctx_t |
typedef struct IO_BUFFERS | IOR_io_buffers |
typedef struct IOR_test_t | IOR_test_t |
Enumerations | |
enum | PACKET_TYPE { generic = 0, timestamp =1, offset =2, incompressible =3 } |
enum | ior_memory_flags { IOR_MEMORY_TYPE_CPU = 0, IOR_MEMORY_TYPE_GPU_MANAGED = 1, IOR_MEMORY_TYPE_GPU_DEVICE_ONLY = 2 } |
Functions | |
IOR_test_t * | CreateTest (IOR_param_t *init_params, int test_num) |
void | AllocResults (IOR_test_t *test) |
char * | GetPlatformName (void) |
void | init_IOR_Param_t (IOR_param_t *p, MPI_Comm global_com) |
IOR_test_t * | ior_run (int argc, char **argv, MPI_Comm world_com, FILE *out_logfile) |
int | ior_main (int argc, char **argv) |
#define ISPOWEROFTWO | ( | x | ) | ((x != 0) && !(x & (x - 1))) |
Definition at line 48 of file ior.h.
Referenced by POSIX_check_params().
typedef struct IO_BUFFERS IOR_io_buffers |
typedef struct IOR_test_t IOR_test_t |
typedef void* rados_ioctx_t |
enum ior_memory_flags |
enum PACKET_TYPE |
void AllocResults | ( | IOR_test_t * | test | ) |
Definition at line 521 of file ior.c.
References NULL, IOR_test_t::params, IOR_param_t::repetitions, IOR_test_t::results, and safeMalloc().
Referenced by ParseCommandLine(), and ReadConfigScript().
IOR_test_t* CreateTest | ( | IOR_param_t * | init_params, |
int | test_num | ||
) |
Create new test for list of tests.
Definition at line 542 of file ior.c.
References ERR, GetPlatformName(), IOR_param_t::id, IOR_test_t::next, NULL, IOR_test_t::params, IOR_param_t::platform, and IOR_test_t::results.
Referenced by ParseCommandLine(), and ReadConfigScript().
char* GetPlatformName | ( | void | ) |
Definition at line 671 of file ior.c.
References EWARN, and MAX_STR.
Referenced by CreateTest(), and ParseCommandLine().
void init_IOR_Param_t | ( | IOR_param_t * | p, |
MPI_Comm | global_com | ||
) |
Definition at line 248 of file ior.c.
References aiori_default(), IOR_param_t::api, IOR_param_t::blockSize, IOR_param_t::checkRead, IOR_param_t::checkWrite, FALSE, IOR_param_t::incompressibleSeed, IOR_param_t::mpi_comm_world, NULL, IOR_param_t::numNodes, IOR_param_t::numTasks, IOR_param_t::numTasksOnNode0, IOR_param_t::open, IOR_param_t::platform, IOR_param_t::randomSeed, IOR_param_t::readFile, IOR_param_t::repCounter, IOR_param_t::repetitions, IOR_param_t::segmentCount, IOR_param_t::taskPerNodeOffset, IOR_param_t::testComm, IOR_param_t::testFileName, IOR_param_t::transferSize, IOR_param_t::URI, WRITE, and IOR_param_t::writeFile.
Referenced by ParseCommandLine(), and ValidateTests().
int ior_main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 183 of file ior.c.
References DestroyTests(), InitTests(), MPI_CHECK, IOR_test_t::next, NULL, out_logfile, out_resultfile, ParseCommandLine(), PrintHeader(), PrintLongSummaryAllTests(), PrintTestEnds(), rank, ShowTestEnd(), test_finalize(), test_initialize(), TestIoSys(), totalErrorCount, verbose, VERBOSE_0, VERBOSE_1, and VERBOSE_4.
Referenced by main().
IOR_test_t* ior_run | ( | int | argc, |
char ** | argv, | ||
MPI_Comm | world_com, | ||
FILE * | out_logfile | ||
) |
Definition at line 149 of file ior.c.
References IOR_results_t::errors, InitTests(), MPI_CHECK, IOR_test_t::next, NULL, out_logfile, out_resultfile, ParseCommandLine(), PrintHeader(), PrintLongSummaryAllTests(), PrintTestEnds(), rank, IOR_test_t::results, ShowTestEnd(), test_finalize(), test_initialize(), TestIoSys(), and totalErrorCount.