Jump to ...
Switch language ...
Sets the recording of times associated with an object
H5P_SET_OBJ_TRACK_TIMES ( ocpl_id, track_times )
Fortran90 Interface: h5pset_obj_track_times_f
SUBROUTINE h5pset_obj_track_times_f(plist_id, flag, hdferr)
INTEGER(HID_T), INTENT(IN) :: plist_id
! Dataset creation property
! list identifier
LOGICAL, INTENT(IN) :: flag ! Object timestamp setting
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5pset_obj_track_times_f
H5P_SET_OBJ_TRACK_TIMES sets a property in the object creation property list, ocpl_id, that governs the recording of times associated with an object.
If track_times is set to 1, time data will be recorded. If track_times is set to 0, time data will not be recorded.
Time data can be retrieved with H5O_GET_INFO, which will return it in the H5O_info_t struct.
If times are not tracked, they will be reported as follows when queried: 12:00 AM UDT, Jan. 1, 1970 That date and time are commonly used to represent the beginning of the UNIX epoch.
12:00 AM UDT, Jan. 1, 1970
Returns a non-negative value if successful; otherwise returns a negative value.
--- Last Modified: July 22, 2020 | 02:13 PM
Copyright © 2006All rights reserved
HDF is a registered trademark of The HDF Group.
Powered by a free Atlassian Confluence Open Source Project License granted to HDF. Evaluate Confluence today.