IOR
Macros | Typedefs | Enumerations
iordef.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
#include <unistd.h>
#include <limits.h>
Include dependency graph for iordef.h:
This graph shows which files directly or indirectly include this file:

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 }
 

Macro Definition Documentation

◆ BASE_TEN

#define BASE_TEN   1

Definition at line 83 of file iordef.h.

Referenced by HumanReadable().

◆ BASE_TWO

#define BASE_TWO   0

Definition at line 82 of file iordef.h.

Referenced by HumanReadable(), and ShowSetup().

◆ DELIMITERS

#define DELIMITERS   " \t\r\n=" /* ReadScript() */

Definition at line 106 of file iordef.h.

◆ FALSE

#define FALSE   0

◆ FILENAME_DELIMITER

#define FILENAME_DELIMITER   '@' /* ParseFileName() */

Definition at line 107 of file iordef.h.

Referenced by ParseFileName().

◆ GIBIBYTE

#define GIBIBYTE   (1 << 30)

Definition at line 79 of file iordef.h.

Referenced by HumanReadable(), and MPIIO_check_params().

◆ GIGABYTE

#define GIGABYTE   1000000000

Definition at line 75 of file iordef.h.

Referenced by HumanReadable().

◆ IOR_format

#define IOR_format   "%016llx"

Definition at line 112 of file iordef.h.

Referenced by DumpBuffer().

◆ KIBIBYTE

#define KIBIBYTE   (1 << 10)

Definition at line 77 of file iordef.h.

Referenced by PrintReducedResult().

◆ KILOBYTE

#define KILOBYTE   1000

Definition at line 73 of file iordef.h.

◆ MAX_HINTS

#define MAX_HINTS   16 /* max number of hints */

Definition at line 100 of file iordef.h.

Referenced by DistributeHints().

◆ MAX_RETRY

#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().

◆ MAX_STR

#define MAX_STR   1024 /* max string length */

◆ MEBIBYTE

#define MEBIBYTE   (1 << 20)

◆ MEGABYTE

#define MEGABYTE   1000000

Definition at line 74 of file iordef.h.

Referenced by HumanReadable(), and PrintShortSummary().

◆ NULL

#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().

◆ PATH_MAX

#define PATH_MAX   4096

Definition at line 103 of file iordef.h.

Referenced by lookup_insert_dir().

◆ READ

#define READ   2

◆ READCHECK

#define READCHECK   3

Definition at line 89 of file iordef.h.

Referenced by CompareData(), HDF5_Xfer(), NCMPI_Xfer(), TestIoSys(), and WriteOrReadSingle().

◆ TRUE

#define TRUE   1

◆ VERBOSE_0

#define VERBOSE_0   0

◆ VERBOSE_1

#define VERBOSE_1   1

◆ VERBOSE_2

#define VERBOSE_2   2

Definition at line 94 of file iordef.h.

Referenced by CompareData(), POSIX_check_params(), PrintHeader(), and TestIoSys().

◆ VERBOSE_3

#define VERBOSE_3   3

◆ VERBOSE_4

#define VERBOSE_4   4

◆ VERBOSE_5

#define VERBOSE_5   5

Definition at line 97 of file iordef.h.

Referenced by CompareData().

◆ WRITE

#define WRITE   0

◆ WRITECHECK

#define WRITECHECK   1

Definition at line 87 of file iordef.h.

Referenced by CompareData(), CountErrors(), TestIoSys(), WriteOrRead(), and WriteOrReadSingle().

Typedef Documentation

◆ IOR_offset_t

typedef long long int IOR_offset_t

Definition at line 109 of file iordef.h.

◆ IOR_size_t

typedef long long int IOR_size_t

Definition at line 110 of file iordef.h.

Enumeration Type Documentation

◆ OutputFormat_t

Enumerator
OUTPUT_DEFAULT 
OUTPUT_CSV 
OUTPUT_JSON 

Definition at line 55 of file iordef.h.