14 #include "hdf5internal.h"
74 if (preemption < 0 || preemption > 1)
125 nc_set_chunk_cache_ints(
int size,
int nelems,
int preemption)
127 if (size <= 0 || nelems <= 0 || preemption < 0 || preemption > 100)
149 nc_get_chunk_cache_ints(
int *sizep,
int *nelemsp,
int *preemptionp)
float nc4_chunk_cache_preemption
Default chunk cache preemption.
#define NC_EINVAL
Invalid Argument.
size_t nc4_chunk_cache_size
Default chunk cache size.
size_t nc4_chunk_cache_nelems
Default chunk cache number of elements.
int nc_set_chunk_cache(size_t size, size_t nelems, float preemption)
Set chunk cache size.
#define NC_NOERR
No Error.
int nc_get_chunk_cache(size_t *sizep, size_t *nelemsp, float *preemptionp)
Get current chunk cache settings.