IOR
|
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 |
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 } |
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) |
IOR_test_t * | ior_run (int argc, char **argv, MPI_Comm world_com, FILE *out_logfile) |
int | ior_main (int argc, char **argv) |
typedef struct IO_BUFFERS IOR_io_buffers |
typedef struct IOR_test_t IOR_test_t |
typedef void* rados_ioctx_t |
enum PACKET_TYPE |
void AllocResults | ( | IOR_test_t * | test | ) |
Definition at line 509 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 530 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 664 of file ior.c.
References EWARN, and MAX_STR.
Referenced by CreateTest(), and ParseCommandLine().
void init_IOR_Param_t | ( | IOR_param_t * | p | ) |
Definition at line 175 of file ior.c.
References aiori_default(), IOR_param_t::api, IOR_param_t::beegfs_chunkSize, IOR_param_t::beegfs_numTargets, IOR_param_t::blockSize, IOR_param_t::checkRead, IOR_param_t::checkWrite, FALSE, IOR_param_t::hdfs_block_size, IOR_param_t::hdfs_fs, IOR_param_t::hdfs_name_node, IOR_param_t::hdfs_name_node_port, IOR_param_t::hdfs_replicas, IOR_param_t::hdfs_user, IOR_param_t::incompressibleSeed, IOR_CREAT, IOR_IRGRP, IOR_IRUSR, IOR_IWGRP, IOR_IWUSR, IOR_RDWR, IOR_param_t::lustre_start_ost, IOR_param_t::mode, mpi_comm_world, NULL, IOR_param_t::numNodes, IOR_param_t::numTasks, IOR_param_t::numTasksOnNode0, IOR_param_t::open, IOR_param_t::openFlags, IOR_param_t::part_number, 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::setAlignment, 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 101 of file ior.c.
References aiori_finalize(), aiori_initialize(), IOR_param_t::backend, DestroyTests(), InitTests(), MPI_CHECK, mpi_comm_world, IOR_test_t::next, NULL, out_logfile, out_resultfile, IOR_test_t::params, ParseCommandLine(), PrintHeader(), PrintLongSummaryAllTests(), PrintTestEnds(), rank, ShowTestEnd(), ShowTestStart(), TestIoSys(), totalErrorCount, verbose, IOR_param_t::verbose, VERBOSE_0, 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 61 of file ior.c.
References aiori_finalize(), aiori_initialize(), IOR_param_t::backend, IOR_results_t::errors, InitTests(), MPI_CHECK, mpi_comm_world, IOR_test_t::next, NULL, out_logfile, out_resultfile, IOR_test_t::params, ParseCommandLine(), PrintHeader(), PrintLongSummaryAllTests(), PrintTestEnds(), rank, IOR_test_t::results, ShowTestEnd(), ShowTestStart(), TestIoSys(), totalErrorCount, verbose, IOR_param_t::verbose, and VERBOSE_0.