diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/vfd_swmr_bigset_writer.c | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/test/vfd_swmr_bigset_writer.c b/test/vfd_swmr_bigset_writer.c index 7105e21..001edd7 100644 --- a/test/vfd_swmr_bigset_writer.c +++ b/test/vfd_swmr_bigset_writer.c @@ -12,44 +12,46 @@ */ /* This program performs "bigset" tests for VFD SWMR. In VFD SWMR mode, - * he bigset tests exercise + * the bigset tests exercise * - * 1 the two major indices for extensible, chunked datasets: the extensible - * array and the version-2 B-tree, with VFD SWMR active. + * 1 the two major indices for extensible, chunked datasets: the + * extensible array and the version-2 B-tree, with VFD SWMR active. * - * 2 reading and writing virtual datasets with source datasets residing in - * the same HDF5 file + * 2 reading and writing virtual datasets with source datasets residing + * in the same HDF5 file * * 3 virtual datasets with source datasets spread over a small number of * HDF5 files * - * The program selects between two personalities, reader or writer, using - * the name it is invoked with (the last component of argv[0]). Reader and - * writer should run simultaneously. + * The program selects between two personalities, reader or writer, + * using the name it is invoked with (the last component of argv[0]). + * Reader and writer should run simultaneously. * - * The bigset tests use datasets extensible in one - * dimension to exercise the extensible array, and tests extensible in two dimensions to exercise the v2 B-tree. + * The bigset tests use datasets extensible in one dimension to exercise + * the extensible array, and tests extensible in two dimensions to + * exercise the v2 B-tree. * - * The writer opens an HDF5 file and creates `n` chunked datasets extensible in `1 <= d <= 2` - * dimensions and runs for `i` iterations. The chunk size, `w` x `h`, is - * user-selectable, as are `d`, `i`, and `n`. In each iteration, the writer extends - * each dataset by the width (or the width and height) of a chunk, and - * writes a test pattern to the dataset on chunk boundaries. + * The writer opens an HDF5 file and creates `n` chunked datasets + * extensible in `1 <= d <= 2` dimensions and runs for `i` iterations. + * The chunk size, `w` x `h`, is user-selectable, as are `d`, `i`, and + * `n`. In each iteration, the writer extends each dataset by the width + * (or the width and height) of a chunk, and writes a test pattern to + * the dataset on chunk boundaries. * * The reader should be started with the same user-selectable parameters - * as the writer: iterations, number of datasets, chunk width and height, - * dimensions. + * as the writer: iterations, number of datasets, chunk width and + * height, dimensions. * * The reader opens the same HDF5 file, reads and re-reads it until all * `n` datasets appear, and then reads and re-reads the datasets until - * all iteration 0 data is available and contains the expected test pattern. - * The reader repeats for the iteration 1 data, iteration 2, and so on, - * until `i` iterations are complete. + * all iteration 0 data is available and contains the expected test + * pattern. The reader repeats for the iteration 1 data, iteration 2, + * and so on, until `i` iterations are complete. * * The reader reads datasets in chunk-sized units. To challenge the * chunk index a bit, the reader reads on a chunk boundary on even - * iterations and reads with a small offset from a chunk boundary on - * odd iterations. + * iterations and reads with a small offset from a chunk boundary on odd + * iterations. * * The writer adds an attribute to every `a`th dataset, where `a` is * a user-selectable parameter. The reader reads and verifies an @@ -57,9 +59,9 @@ * * To help ensure that the reader and the writer are simultaneously * reading and writing the HDF5 file, both reader and writer pause - * between each dataset written/verified (if there are at least as many - * iterations as datasets) or between each iteration (if there are - * fewer iterations than datasets). The duration of the pause is + * between each dataset written/verified (if there are at least as + * many iterations as datasets) or between each iteration (if there + * are fewer iterations than datasets). The duration of the pause is * user-selectable. */ |