diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-12-28 13:22:32 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-12-28 13:22:32 (GMT) |
commit | ba095e6a53a919c9753463c3800a26b180b7a135 (patch) | |
tree | 33f20992224381794d07e31b54313f1f26709a01 /src/H5Cdbg.c | |
parent | fe30b71086d1714261869a821f725e77026ba507 (diff) | |
parent | 1ff756a1047d58f71c70deb48c797cb860904292 (diff) | |
download | hdf5-ba095e6a53a919c9753463c3800a26b180b7a135.zip hdf5-ba095e6a53a919c9753463c3800a26b180b7a135.tar.gz hdf5-ba095e6a53a919c9753463c3800a26b180b7a135.tar.bz2 |
Merge pull request #1406 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:md_cache_logging_squash to develop
* commit '1ff756a1047d58f71c70deb48c797cb860904292':
Updated the log function names.
Squash merge of MDC logging changes.
Diffstat (limited to 'src/H5Cdbg.c')
-rw-r--r-- | src/H5Cdbg.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/H5Cdbg.c b/src/H5Cdbg.c index 08c70d9..1f55e86 100644 --- a/src/H5Cdbg.c +++ b/src/H5Cdbg.c @@ -476,42 +476,6 @@ done: /*------------------------------------------------------------------------- - * Function: H5C_set_trace_file_ptr - * - * Purpose: Set the trace_file_ptr field for the cache. - * - * This field must either be NULL (which turns of trace - * file logging), or be a pointer to an open file to which - * trace file data is to be written. - * - * Return: Non-negative on success/Negative on failure - * - * Programmer: John Mainzer - * 1/20/06 - * - *------------------------------------------------------------------------- - */ -herr_t -H5C_set_trace_file_ptr(H5C_t * cache_ptr, FILE * trace_file_ptr) -{ - herr_t ret_value = SUCCEED; /* Return value */ - - FUNC_ENTER_NOAPI(FAIL) - - /* This would normally be an assert, but we need to use an HGOTO_ERROR - * call to shut up the compiler. - */ - if((NULL == cache_ptr) || (cache_ptr->magic != H5C__H5C_T_MAGIC)) - HGOTO_ERROR(H5E_CACHE, H5E_SYSTEM, FAIL, "Bad cache_ptr") - - cache_ptr->trace_file_ptr = trace_file_ptr; - -done: - FUNC_LEAVE_NOAPI(ret_value) -} /* H5C_set_trace_file_ptr() */ - - -/*------------------------------------------------------------------------- * Function: H5C_stats * * Purpose: Prints statistics about the cache. |