Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5F_RESET_MDC_HIT_RATE_STATS

Reset hit rate statistics counters for the target file.

Procedure:

H5F_RESET_MDC_HIT_RATE_STATS(file_id)

Signature:

herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)

Parameters:
hid_t file_id    IN: Identifier of the target file.

Description:

H5Freset_mdc_hit_rate_stats resets the hit rate statistics counters in the metadata cache associated with the specified file.

If the adaptive cache resizing code is enabled, the hit rate statistics are reset at the beginning of each epoch. This API call allows you to do the same thing from your program.

The adaptive cache resizing code may behave oddly if you use this call when adaptive cache resizing is enabled. However, the call should be useful if you choose to control metadata cache size from your program.

See the overview of the metadata cache in the special topics section of the user manual for details of the metadata cache and the adaptive cache resizing algorithms. If you haven't read, understood, and thought about the material covered in that documentation, you shouldn't be using this API call.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming soon!

--- Last Modified: December 04, 2017 | 06:24 AM