summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authormyang6 <myang6@hdfgroup.org>2021-10-18 21:23:25 (GMT)
committermyang6 <myang6@hdfgroup.org>2021-10-18 21:23:25 (GMT)
commita9670aaa117d7be70c2039bf0fcb7c12104c6ea3 (patch)
treea786f3bee70af7adabeac19802fbe78117de1545 /src/H5Fpkg.h
parent9d48ca295f5352a9f084fda84e23dc43eebf1648 (diff)
downloadhdf5-a9670aaa117d7be70c2039bf0fcb7c12104c6ea3.zip
hdf5-a9670aaa117d7be70c2039bf0fcb7c12104c6ea3.tar.gz
hdf5-a9670aaa117d7be70c2039bf0fcb7c12104c6ea3.tar.bz2
Add the log entry report function, also add logs for 'File open','File close' and 'EOT processing time'
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index ae9c037..3ab0cd3 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -469,9 +469,9 @@ struct H5F_shared_t {
* manager
*/
- int vfd_swmr_log_fd;
- hbool_t use_vfd_swmr_log;
- double vfd_swmr_log_time_elapsed;
+ FILE* vfd_swmr_log_file_ptr;
+ hbool_t vfd_swmr_log_on;
+ struct timespec vfd_swmr_log_start_time;
/* Delayed free space release doubly linked list */
shadow_defree_queue_t shadow_defrees;
@@ -612,5 +612,5 @@ H5_DLL htri_t H5F__same_file_test(hid_t file_id1, hid_t file_id2);
H5_DLL herr_t H5F__reparse_file_lock_variable_test(void);
#endif /* H5F_TESTING */
-H5_DLL void *H5F_post_vfd_swrm_log_entry(H5F_t *f, int entry_type_code, char *body);
+H5_DLL herr_t H5F_post_vfd_swrm_log_entry(H5F_t *f, int entry_type_code, char *body);
#endif /* H5Fpkg_H */