hdf5-1.8.14: Haskell interface to the HDF5 scientific data storage library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Bindings.HDF5.Raw.H5FD.Log

Description

The POSIX unbuffered file driver using only the HDF5 public API and with a few optimizations: the lseek() call is made only when the current file position is unknown or needs to be changed based on previous I/O through this driver (don't mix IO from this driver with IO from other parts of the application to the same file). With custom modifications...

Synopsis

Documentation

Flags for h5p_set_fapl_log

Flags for tracking where readswritesseeks occur

h5fd_LOG_LOC_READ :: Num a => a Source #

h5fd_LOG_LOC_SEEK :: Num a => a Source #

h5fd_LOG_LOC_IO :: Num a => a Source #

Flags for tracking number of times each byte is read/written

h5fd_LOG_FILE_IO :: Num a => a Source #

Flag for tracking "flavor" (type) of information stored at each byte */

h5fd_LOG_FLAVOR :: Num a => a Source #

Flags for tracking total number of readswritesseeks */

h5fd_LOG_NUM_READ :: Num a => a Source #

h5fd_LOG_NUM_SEEK :: Num a => a Source #

h5fd_LOG_NUM_IO :: Num a => a Source #

Flags for tracking time spent in openreadwriteseekclose */

h5fd_LOG_TIME_IO :: Num a => a Source #

Flag for tracking allocation of space in file */

h5fd_LOG_ALLOC :: Num a => a Source #

h5fd_LOG_ALL :: Num a => a Source #

Functions

h5fd_log_init :: IO HId_t Source #

Initialize this driver by registering the driver with the library.

hid_t H5FD_log_init(void);

p_H5FD_log_init :: FunPtr (IO HId_t) Source #

h5p_set_fapl_log :: HId_t -> CString -> CUInt -> CSize -> IO HErr_t Source #

Modify the file access property list to use the H5FD_LOG driver. There are no driver-specific properties.

herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned flags, size_t buf_size);

p_H5Pset_fapl_log :: FunPtr (HId_t -> CString -> CUInt -> CSize -> IO HErr_t) Source #