diff options
author | David Young <dyoung@hdfgroup.org> | 2020-08-31 20:50:31 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-08-31 20:50:31 (GMT) |
commit | 733a02386ba651c78b9fe9a3c8ba88225aa8425b (patch) | |
tree | 8ac5de12a912d27055cdace633283191d912cfc7 /src/H5FDvfd_swmr.c | |
parent | fd406a654c1c0796af8624c5b022dcc29cf209ec (diff) | |
download | hdf5-733a02386ba651c78b9fe9a3c8ba88225aa8425b.zip hdf5-733a02386ba651c78b9fe9a3c8ba88225aa8425b.tar.gz hdf5-733a02386ba651c78b9fe9a3c8ba88225aa8425b.tar.bz2 |
Add/improve some struct/member documentation per John's request.
Diffstat (limited to 'src/H5FDvfd_swmr.c')
-rw-r--r-- | src/H5FDvfd_swmr.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/H5FDvfd_swmr.c b/src/H5FDvfd_swmr.c index e2f8513..5d2474f 100644 --- a/src/H5FDvfd_swmr.c +++ b/src/H5FDvfd_swmr.c @@ -53,13 +53,21 @@ typedef struct H5FD_vfd_swmr_t { uint32_t api_elapsed_nslots; uint64_t *api_elapsed_ticks; /* Histogram of ticks elapsed * inside the API (reader only). + * api_elapsed_ticks[elapsed] is + * the number of times `elapsed` + * ticks passed in an API call + * during the program lifetime. */ hbool_t pb_configured; /* boolean flag set to TRUE */ /* when the page buffer is */ /* and to FALSE otherwise. */ /* Used for sanity checking. */ H5F_vfd_swmr_config_t config; - bool writer; /* True iff configured to write. */ + bool writer; /* True iff configured to write. + * All methods on a write-mode + * SWMR VFD instance are passed + * to the lower VFD instance. + */ } H5FD_vfd_swmr_t; #define MAXADDR (((haddr_t)1<<(8*sizeof(HDoff_t)-1))-1) |