IOR
|
Go to the source code of this file.
Macros | |
#define | MAX_PATHLEN PATH_MAX |
#define | FAIL(msg) |
Functions | |
void | set_o_direct_flag (int *fd) |
char * | CurrentTimeString (void) |
int | Regex (char *, char *) |
void | ShowFileSystemSize (char *) |
void | DumpBuffer (void *, size_t) |
void | SeedRandGen (MPI_Comm) |
void | SetHints (MPI_Info *, char *) |
void | ShowHints (MPI_Info *) |
char * | HumanReadable (IOR_offset_t value, int base) |
int | CountTasksPerNode (MPI_Comm comm) |
void | DelaySecs (int delay) |
int64_t | ReadStoneWallingIterations (char *const filename) |
void | StoreStoneWallingIterations (char *const filename, int64_t count) |
void | init_clock (void) |
double | GetTimeStamp (void) |
char * | PrintTimestamp () |
Variables | |
int | numTasksWorld |
int | rank |
int | rankOffset |
int | tasksPerNode |
int | verbose |
MPI_Comm | testComm |
MPI_Comm | mpi_comm_world |
FILE * | out_logfile |
FILE * | out_resultfile |
enum OutputFormat_t | outputFormat |
double | wall_clock_deviation |
double | wall_clock_delta |
#define FAIL | ( | msg | ) |
Definition at line 47 of file utilities.h.
Referenced by collective_helper(), CountTasksPerNode(), create_file(), create_remove_directory_tree(), create_remove_dirs(), DecodeDirective(), mdtest_iteration(), mdtest_read(), mdtest_run(), mdtest_stat(), parse_dirpath(), show_file_system_size(), StoreStoneWallingIterations(), and valid_tests().
#define MAX_PATHLEN PATH_MAX |
Definition at line 35 of file utilities.h.
Referenced by collective_create_remove(), collective_helper(), CompareBuffers(), CountTasksPerNode(), create_file(), create_remove_directory_tree(), create_remove_dirs(), create_remove_items(), directory_test(), display_freespace(), file_test(), GetTestFileName(), mdtest_read(), mdtest_run(), mdtest_stat(), remove_file(), show_file_system_size(), and summarize_results().
int CountTasksPerNode | ( | MPI_Comm | comm | ) |
Definition at line 166 of file utilities.c.
References FAIL, hostname, MAX_PATHLEN, out_logfile, rank, size, tasksPerNode, and verbose.
Referenced by DumpBuffer(), InitTests(), mdtest_run(), and TestIoSys().
char* CurrentTimeString | ( | void | ) |
Definition at line 97 of file utilities.c.
Referenced by PrintHeader(), PrintTestEnds(), ShowTestStart(), and TestIoSys().
void DelaySecs | ( | int | delay | ) |
Definition at line 617 of file utilities.c.
References out_logfile, rank, verbose, and VERBOSE_1.
Referenced by mdtest_iteration(), and TestIoSys().
void DumpBuffer | ( | void * | , |
size_t | |||
) |
Definition at line 122 of file utilities.c.
References CountTasksPerNode(), IOR_format, and out_logfile.
double GetTimeStamp | ( | void | ) |
Definition at line 511 of file utilities.c.
References ERR, NULL, and wall_clock_delta.
Referenced by mdtest_iteration(), test_time_elapsed(), TestIoSys(), TimeDeviation(), and WriteOrRead().
char* HumanReadable | ( | IOR_offset_t | value, |
int | base | ||
) |
Definition at line 630 of file utilities.c.
References BASE_TEN, BASE_TWO, GIBIBYTE, GIGABYTE, MAX_STR, MEBIBYTE, and MEGABYTE.
Referenced by ShowSetup().
void init_clock | ( | void | ) |
Definition at line 560 of file utilities.c.
References TimeDeviation(), and wall_clock_deviation.
Referenced by InitTests(), and mdtest_run().
char* PrintTimestamp | ( | ) |
Definition at line 565 of file utilities.c.
References NULL, out_logfile, rank, and verbose.
Referenced by mdtest_run().
int64_t ReadStoneWallingIterations | ( | char *const | filename | ) |
Definition at line 580 of file utilities.c.
References mpi_comm_world, NULL, and rank.
Referenced by file_test(), and TestIoSys().
int Regex | ( | char * | , |
char * | |||
) |
Definition at line 443 of file utilities.c.
Referenced by ShowTestStart().
void SeedRandGen | ( | MPI_Comm | ) |
Definition at line 463 of file utilities.c.
References ERR, MPI_CHECK, NULL, and rank.
Referenced by GetOffsetArrayRandom(), and InitTests().
void set_o_direct_flag | ( | int * | fd | ) |
Definition at line 73 of file utilities.c.
References O_DIRECT, and WARN.
Referenced by IME_Open(), POSIX_Create(), and POSIX_Open().
void SetHints | ( | MPI_Info * | , |
char * | |||
) |
Definition at line 242 of file utilities.c.
References environ, ERR, ExtractHint(), MAX_STR, MPI_CHECK, NULL, and WARN.
Referenced by HDF5_Open(), NCMPI_Create(), and NCMPI_Open().
void ShowFileSystemSize | ( | char * | ) |
Definition at line 356 of file utilities.c.
References ERR, NULL, out_logfile, out_resultfile, OUTPUT_CSV, OUTPUT_DEFAULT, OUTPUT_JSON, outputFormat, and PATH_MAX.
Referenced by DisplayFreespace().
void ShowHints | ( | MPI_Info * | ) |
Definition at line 303 of file utilities.c.
References MPI_CHECK, and out_logfile.
Referenced by HDF5_Open(), NCMPI_Create(), and NCMPI_Open().
void StoreStoneWallingIterations | ( | char *const | filename, |
int64_t | count | ||
) |
Definition at line 602 of file utilities.c.
References FAIL, NULL, and rank.
Referenced by file_test(), and ShowTestEnd().
MPI_Comm mpi_comm_world |
Definition at line 62 of file utilities.c.
Referenced by file_hits_histogram(), init_IOR_Param_t(), InitTests(), ior_main(), ior_run(), mdtest_run(), ReadStoneWallingIterations(), TestIoSys(), and TimeDeviation().
int numTasksWorld |
Definition at line 56 of file utilities.c.
Referenced by ior_main(), ior_run(), NCMPI_Xfer(), and TestIoSys().
FILE* out_logfile |
Definition at line 63 of file utilities.c.
Referenced by CheckFileSize(), collective_create_remove(), collective_helper(), CompareBuffers(), CountErrors(), CountTasksPerNode(), create_file(), create_remove_directory_tree(), create_remove_dirs(), create_remove_items(), create_remove_items_helper(), DecodeDirective(), DelaySecs(), directory_test(), display_freespace(), DisplayOutliers(), DUMMY_Close(), DUMMY_Create(), DUMMY_Delete(), DUMMY_Fsync(), DUMMY_GetFileSize(), DUMMY_Open(), DUMMY_Xfer(), DumpBuffer(), ExtractHint(), file_hits_histogram(), file_test(), HogMemory(), ior_main(), ior_run(), mdtest_iteration(), mdtest_read(), mdtest_run(), mdtest_stat(), offset_timers(), parse_dirpath(), ParseCommandLine(), print_help(), PrintHeader(), PrintTimestamp(), remove_file(), show_file_system_size(), ShowFileSystemSize(), ShowHints(), ShowSetup(), ShowTestEnd(), summarize_results(), TestIoSys(), unique_dir_access(), updateStoneWallIterations(), valid_tests(), WriteOrRead(), and WriteTimes().
FILE* out_resultfile |
Definition at line 64 of file utilities.c.
Referenced by DecodeDirective(), ior_main(), ior_run(), PPDouble(), PrintArrayEnd(), PrintArrayNamedStart(), PrintArrayStart(), PrintEarlyHeader(), PrintEndSection(), PrintHeader(), PrintIndent(), PrintKeyVal(), PrintKeyValDouble(), PrintKeyValEnd(), PrintKeyValInt(), PrintKeyValStart(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintNamedArrayStart(), PrintNamedSectionStart(), PrintNextToken(), PrintReducedResult(), PrintRemoveTiming(), PrintShortSummary(), PrintStartSection(), PrintTableHeader(), ShowFileSystemSize(), ShowSetup(), and ShowTestStart().
enum OutputFormat_t outputFormat |
Definition at line 65 of file utilities.c.
Referenced by DecodeDirective(), PrintArrayEnd(), PrintArrayNamedStart(), PrintArrayStart(), PrintEndSection(), PrintIndent(), PrintKeyVal(), PrintKeyValDouble(), PrintKeyValEnd(), PrintKeyValInt(), PrintKeyValStart(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintNamedArrayStart(), PrintNamedSectionStart(), PrintNextToken(), PrintReducedResult(), PrintRemoveTiming(), PrintRepeatStart(), PrintShortSummary(), PrintStartSection(), PrintTableHeader(), ShowFileSystemSize(), and ShowTestStart().
int rank |
Definition at line 57 of file utilities.c.
Referenced by CountTasksPerNode(), DelaySecs(), PrintTimestamp(), ReadStoneWallingIterations(), SeedRandGen(), and StoreStoneWallingIterations().
int rankOffset |
Definition at line 58 of file utilities.c.
int tasksPerNode |
Definition at line 59 of file utilities.c.
Referenced by CountTasksPerNode(), InitTests(), and ShowTestStart().
MPI_Comm testComm |
Definition at line 61 of file utilities.c.
int verbose |
Definition at line 60 of file utilities.c.
Referenced by CountTasksPerNode(), DelaySecs(), and PrintTimestamp().
double wall_clock_delta |
Definition at line 505 of file utilities.c.
Referenced by DisplayOutliers(), GetTimeStamp(), and TimeDeviation().
double wall_clock_deviation |
Definition at line 504 of file utilities.c.
Referenced by init_clock(), and PrintHeader().