diff options
author | songyulu <songyulu@jelly.ad.hdfgroup.org> | 2021-02-12 22:21:34 (GMT) |
---|---|---|
committer | songyulu <songyulu@jelly.ad.hdfgroup.org> | 2021-02-12 22:21:34 (GMT) |
commit | 1d6b21a4a11972c0eed5068698d03466e781b371 (patch) | |
tree | 47cda2951eb392cd4ea01bc2b5eeee95f2ed822c /test | |
parent | ddd24e265171c20b35e7dd42942f84f27a7116e2 (diff) | |
download | hdf5-1d6b21a4a11972c0eed5068698d03466e781b371.zip hdf5-1d6b21a4a11972c0eed5068698d03466e781b371.tar.gz hdf5-1d6b21a4a11972c0eed5068698d03466e781b371.tar.bz2 |
Added some comments.
Diffstat (limited to 'test')
-rw-r--r-- | test/vfd_swmr_bigset_writer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/vfd_swmr_bigset_writer.c b/test/vfd_swmr_bigset_writer.c index 58c3a38..12cdc5e 100644 --- a/test/vfd_swmr_bigset_writer.c +++ b/test/vfd_swmr_bigset_writer.c @@ -16,6 +16,7 @@ * * 1 the two major indices for extensible, chunked datasets: the * extensible array and the version-2 B-tree, with VFD SWMR active. + * The maximal dimension can be either fixed or unlimited. * * 2 reading and writing virtual datasets with source datasets residing * in the same HDF5 file @@ -209,11 +210,12 @@ newmat(unsigned rows, unsigned cols) static void usage(const char *progname) { - fprintf(stderr, "usage: %s [-S] [-W] [-a steps] [-b] [-c cols]\n" + fprintf(stderr, "usage: %s [-F] [-M] [-S] [-V] [-W] [-a steps] [-b] [-c cols]\n" " [-d dims]\n" " [-n iterations] [-r rows] [-s datasets]\n" " [-u milliseconds]\n" "\n" + "-F: fix maximal dimensions for the chunked datasets\n" "-M: use virtual datasets and many source\n" " files\n" "-S: do not use VFD SWMR\n" @@ -276,6 +278,7 @@ state_init(state_t *s, int argc, char **argv) while ((ch = getopt(argc, argv, "FMSVWa:bc:d:n:qr:s:u:")) != -1) { switch (ch) { case 'F': + /* The flag to indicate whether the maximal dimension of the chunked datasets is fixed or unlimited */ s->fixed_array = true; break; case 'M': |