IOR
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
#include <unistd.h>
#include <limits.h>
Go to the source code of this file.
Macros | |
#define | FALSE 0 |
#define | TRUE 1 |
#define | NULL ((void *)0) |
#define | KILOBYTE 1000 |
#define | MEGABYTE 1000000 |
#define | GIGABYTE 1000000000 |
#define | KIBIBYTE (1 << 10) |
#define | MEBIBYTE (1 << 20) |
#define | GIBIBYTE (1 << 30) |
#define | BASE_TWO 0 |
#define | BASE_TEN 1 |
#define | WRITE 0 |
#define | WRITECHECK 1 |
#define | READ 2 |
#define | READCHECK 3 |
#define | VERBOSE_0 0 |
#define | VERBOSE_1 1 |
#define | VERBOSE_2 2 |
#define | VERBOSE_3 3 |
#define | VERBOSE_4 4 |
#define | VERBOSE_5 5 |
#define | MAX_STR 1024 /* max string length */ |
#define | MAX_HINTS 16 /* max number of hints */ |
#define | MAX_RETRY 10000 /* max retries for POSIX xfer */ |
#define | PATH_MAX 4096 |
#define | DELIMITERS " \t\r\n=" /* ReadScript() */ |
#define | FILENAME_DELIMITER '@' /* ParseFileName() */ |
#define | IOR_format "%016llx" |
Typedefs | |
typedef long long int | IOR_offset_t |
typedef long long int | IOR_size_t |
Enumerations | |
enum | OutputFormat_t { OUTPUT_DEFAULT, OUTPUT_CSV, OUTPUT_JSON } |
#define BASE_TEN 1 |
Definition at line 83 of file iordef.h.
Referenced by HumanReadable().
#define BASE_TWO 0 |
Definition at line 82 of file iordef.h.
Referenced by HumanReadable(), and ShowSetup().
#define FALSE 0 |
Definition at line 62 of file iordef.h.
Referenced by aiori_posix_statfs(), CheckRunSettings(), EMC_Close(), EMC_Create(), EMC_Open(), EMC_Xfer(), FillIncompressibleBuffer(), HDF5_Xfer(), HDFS_Open(), init_IOR_Param_t(), NCMPI_Close(), NCMPI_Xfer(), PMDK_GetFileSize(), RADOS_Open(), ShowSetup(), TestIoSys(), and ValidateTests().
#define FILENAME_DELIMITER '@' /* ParseFileName() */ |
Definition at line 107 of file iordef.h.
Referenced by ParseFileName().
#define GIBIBYTE (1 << 30) |
Definition at line 79 of file iordef.h.
Referenced by HumanReadable(), and MPIIO_check_params().
#define GIGABYTE 1000000000 |
Definition at line 75 of file iordef.h.
Referenced by HumanReadable().
#define IOR_format "%016llx" |
Definition at line 112 of file iordef.h.
Referenced by DumpBuffer().
#define KIBIBYTE (1 << 10) |
Definition at line 77 of file iordef.h.
Referenced by PrintReducedResult().
#define MAX_HINTS 16 /* max number of hints */ |
Definition at line 100 of file iordef.h.
Referenced by DistributeHints().
#define MAX_RETRY 10000 /* max retries for POSIX xfer */ |
Definition at line 101 of file iordef.h.
Referenced by DFS_Xfer(), HDFS_Xfer(), IME_Xfer(), and POSIX_Xfer().
#define MAX_STR 1024 /* max string length */ |
Definition at line 99 of file iordef.h.
Referenced by DecodeDirective(), DisplayOutliers(), DistributeHints(), GetPlatformName(), GetTestFileName(), HumanReadable(), PrependDir(), ReadConfigScript(), SetHints(), SetupDataSet(), TestIoSys(), and WriteTimes().
#define MEBIBYTE (1 << 20) |
Definition at line 78 of file iordef.h.
Referenced by HumanReadable(), PrintLongSummaryOneOperation(), PrintReducedResult(), and PrintShortSummary().
#define MEGABYTE 1000000 |
Definition at line 74 of file iordef.h.
Referenced by HumanReadable(), and PrintShortSummary().
#define NULL ((void *)0) |
Definition at line 70 of file iordef.h.
Referenced by aio_options(), aiori_default(), aiori_select(), aiori_supported_apis(), airoi_create_all_module_options(), airoi_update_module_options(), AllocResults(), bw_ops_values(), CEPHFS_Final(), CheckRunSettings(), collective_helper(), complete_all(), compute_histogram(), create_file(), create_remove_directory_tree(), createGlobalOptions(), CreateTest(), CurrentTimeString(), DecodeDirective(), DestroyTests(), DFS_Access(), DFS_check_params(), DFS_Create(), DFS_Delete(), DFS_Finalize(), DFS_GetFileSize(), DFS_Init(), DFS_Mkdir(), DFS_Open(), DFS_options(), DFS_Rmdir(), DFS_Stat(), DFS_Xfer(), DistributeHints(), DUMMY_Create(), DUMMY_options(), DUMMY_Xfer(), ExtractHint(), file_hits_histogram(), FreeResults(), GetOffsetArrayRandom(), GetTimeStamp(), Gfarm_create(), Gfarm_initialize(), Gfarm_open(), HandleDistribute(), HDF5_Open(), HDF5_options(), HDFS_Create_Or_Open(), hdfs_disconnect(), HDFS_options(), HDFS_stat(), HogMemory(), HumanReadable(), IME_Open(), IME_Options(), init_IOR_Param_t(), InitTests(), ior_main(), ior_mmap_file(), ior_run(), list_delete_cb(), lookup_insert_dir(), malloc_and_touch(), md_validate_tests(), md_workbench_run(), mdtest_iteration(), mdtest_read(), mdtest_run(), mdtest_test_name(), mdw_wait(), MMAP_Close(), MMAP_options(), MPIIO_options(), NCMPI_Create(), NCMPI_Open(), NCMPI_options(), option_parse(), option_parse_key_value(), option_parse_str(), option_parse_token(), parse_dirpath(), parse_filename(), ParseCommandLine(), ParseFileName(), ParseLine(), PMDK_Create(), PMDK_Open(), POSIX_options(), PrependDir(), print_help_section(), print_option_value(), print_value(), PrintHeader(), PrintKeyVal(), PrintLongSummaryAllTests(), PrintTimestamp(), process_some(), RADOS_Access(), RADOS_Create_Or_Open(), RADOS_Delete(), RADOS_GetFileSize(), RADOS_Xfer(), ReadConfigScript(), ReadStoneWallingIterations(), rename_dir_test(), responseCompleteCallback(), run_benchmark(), run_precreate(), S3_check_params(), S3_Close_internal(), S3_Create(), S3_Create_Or_Open_internal(), S3_Delete(), S3_final(), S3_init(), S3_mkdir(), S3_Open(), S3_options(), S3_rmdir(), S3_stat(), S3_statfs(), S3_Xfer(), safeMalloc(), SetHints(), share_file_handle(), show_file_system_size(), statResponsePropertiesCallback(), StoreRankInformation(), StoreStoneWallingIterations(), summarize_results(), summarize_results_rank0(), TestIoSys(), updateParsedOptions(), WriteOrRead(), and WriteOrReadSingle().
#define PATH_MAX 4096 |
Definition at line 103 of file iordef.h.
Referenced by lookup_insert_dir().
#define READ 2 |
Definition at line 88 of file iordef.h.
Referenced by create_file(), mdtest_read(), PrintLongSummaryOneTest(), ReduceIterResults(), run_benchmark(), TestIoSys(), and WriteOrReadSingle().
#define READCHECK 3 |
Definition at line 89 of file iordef.h.
Referenced by CompareData(), HDF5_Xfer(), NCMPI_Xfer(), TestIoSys(), and WriteOrReadSingle().
#define TRUE 1 |
Definition at line 66 of file iordef.h.
Referenced by aiori_posix_statfs(), CEPHFS_GetFileSize(), CEPHFS_Xfer(), CheckFileSize(), CheckRunSettings(), CountErrors(), DFS_GetFileSize(), DFS_Xfer(), FillIncompressibleBuffer(), GetTestFileName(), HDF5_Open(), HDF5_Xfer(), HDFS_Create(), HDFS_Create_Or_Open(), HDFS_Open(), HDFS_Xfer(), IME_Open(), MMAP_Xfer(), MPIIO_check_params(), MPIIO_Close(), MPIIO_GetFileSize(), NCMPI_Xfer(), POSIX_Create(), POSIX_Open(), POSIX_Xfer(), RADOS_Create(), RADOS_GetFileSize(), RADOS_Open(), RemoveFile(), S3_Close(), S3_Create(), S3_Open(), S3_Xfer(), S3_Xfer_internal(), SeekOffset(), SetupDataSet(), ShowSetup(), TestIoSys(), updateParsedOptions(), ValidateTests(), WriteOrRead(), and WriteOrReadSingle().
#define VERBOSE_0 0 |
Definition at line 92 of file iordef.h.
Referenced by CheckFileSize(), ior_main(), POSIX_check_params(), PrintLongSummaryAllTests(), PrintLongSummaryHeader(), PrintLongSummaryOneOperation(), PrintRemoveTiming(), PrintShortSummary(), PrintTestEnds(), ReduceIterResults(), test_initialize(), and TestIoSys().
#define VERBOSE_1 1 |
Definition at line 93 of file iordef.h.
Referenced by CompareData(), DelaySecs(), DFS_Finalize(), DFS_Init(), ior_main(), POSIX_Open(), SetupDataSet(), TestIoSys(), and WriteOrRead().
#define VERBOSE_2 2 |
Definition at line 94 of file iordef.h.
Referenced by CompareData(), POSIX_check_params(), PrintHeader(), and TestIoSys().
#define VERBOSE_3 3 |
Definition at line 95 of file iordef.h.
Referenced by CompareData(), HogMemory(), PrintHeader(), ProcessIterResults(), RemoveFile(), S3_Close_internal(), S3_Create_Or_Open_internal(), ShowTestStart(), and TestIoSys().
#define VERBOSE_4 4 |
Definition at line 96 of file iordef.h.
Referenced by HDFS_Close(), hdfs_connect(), HDFS_Create(), HDFS_Create_Or_Open(), HDFS_Delete(), hdfs_disconnect(), HDFS_Fsync(), HDFS_GetFileSize(), HDFS_Open(), HDFS_Xfer(), IME_Xfer(), ior_main(), POSIX_Xfer(), S3_Close_internal(), and TestIoSys().
#define VERBOSE_5 5 |
Definition at line 97 of file iordef.h.
Referenced by CompareData().
#define WRITE 0 |
Definition at line 86 of file iordef.h.
Referenced by aio_Xfer(), bw_ops_values(), CEPHFS_Xfer(), CheckFileSize(), create_file(), DFS_Xfer(), DisplayOutliers(), Gfarm_xfer(), HDF5_Xfer(), HDFS_Xfer(), IME_Xfer(), init_IOR_Param_t(), MMAP_Xfer(), MPIIO_Xfer(), NCMPI_Xfer(), PMDK_Xfer(), POSIX_check_params(), POSIX_Xfer(), prefillSegment(), PrintLongSummaryOneOperation(), PrintLongSummaryOneTest(), PrintReducedResult(), RADOS_Xfer(), ReduceIterResults(), run_benchmark(), run_precreate(), S3_Xfer(), S3_Xfer_internal(), StoreRankInformation(), TestIoSys(), WriteOrRead(), WriteOrReadSingle(), and WriteTimes().
#define WRITECHECK 1 |
Definition at line 87 of file iordef.h.
Referenced by CompareData(), CountErrors(), TestIoSys(), WriteOrRead(), and WriteOrReadSingle().
typedef long long int IOR_offset_t |
typedef long long int IOR_size_t |
enum OutputFormat_t |