fixed documentation of cache int functions

This commit is contained in:
Edward Hartnett 2020-03-24 15:02:42 -06:00
parent 05c67d9421
commit e7b9b1b587
2 changed files with 5 additions and 2 deletions

View File

@ -2274,7 +2274,7 @@ NC4_HDF5_set_var_chunk_cache(int ncid, int varid, size_t size, size_t nelems,
*
* @param ncid File ID.
* @param varid Variable ID.
* @param size Size in bytes to set cache.
* @param size Size in MB to set cache.
* @param nelems Number of elements in cache.
* @param preemption Controls cache swapping.
*
@ -2289,6 +2289,9 @@ nc_set_var_chunk_cache_ints(int ncid, int varid, int size, int nelems,
size_t real_nelems = H5D_CHUNK_CACHE_NSLOTS_DEFAULT;
float real_preemption = CHUNK_CACHE_PREEMPTION;
LOG((1, "%s: ncid 0x%x varid %d size %d nelems %d preemption %d",
__func__, ncid, varid, size, nelems, preemptions));
if (size >= 0)
real_size = ((size_t) size) * MEGABYTE;

View File

@ -72,7 +72,7 @@ NC4_get_var_chunk_cache(int ncid, int varid, size_t *sizep,
*
* @param ncid File ID.
* @param varid Variable ID.
* @param sizep Gets size in bytes of cache.
* @param sizep Gets size in MB of cache.
* @param nelemsp Gets number of element slots in cache.
* @param preemptionp Gets cache swapping setting.
*