H5Fget_mdc_hit_rate
(hid_t
file_id
, double *hit_rate_ptr
)
The hit rate stats can be reset either manually (via H5Freset_mdc_hit_rate_stats()), or automatically. If the cache's adaptive resize code is enabled, the hit rate stats will be reset once per epoch. If they are reset manually as well, the cache may behave oddly.
See the overview of the metadata cache in the special topics section of the user manual for details on the metadata cache and its adaptive resize algorithms.
hid_t file_id |
IN: Identifier of the target file. |
double * hit_rate_ptr |
OUT: Pointer to the double in which the
hit rate is returned. Note that *hit_rate_ptr is
undefined if the API call fails. |