hdf5-1.8.15: Haskell interface to the HDF5 scientific data storage library.

Safe Haskell | None
Language | Haskell2010

Bindings.HDF5.Raw.H5FD.Log

Contents

- Flags for `h5p_set_fapl_log`
  - Flags for tracking where readswritesseeks occur
  - Flags for tracking number of times each byte is read/written
  - Flag for tracking "flavor" (type) of information stored at each byte */
  - Flags for tracking total number of readswritesseeks */
  - Flags for tracking time spent in openreadwriteseekclose */
  - Flag for tracking allocation of space in file */
- Functions

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

- h5fd_LOG :: HId_t
- h5fd_LOG_LOC_READ :: Num a => a
- h5fd_LOG_LOC_WRITE :: Num a => a
- h5fd_LOG_LOC_SEEK :: Num a => a
- h5fd_LOG_LOC_IO :: Num a => a
- h5fd_LOG_FILE_READ :: Num a => a
- h5fd_LOG_FILE_WRITE :: Num a => a
- h5fd_LOG_FILE_IO :: Num a => a
- h5fd_LOG_FLAVOR :: Num a => a
- h5fd_LOG_NUM_READ :: Num a => a
- h5fd_LOG_NUM_WRITE :: Num a => a
- h5fd_LOG_NUM_SEEK :: Num a => a
- h5fd_LOG_NUM_IO :: Num a => a
- h5fd_LOG_TIME_OPEN :: Num a => a
- h5fd_LOG_TIME_READ :: Num a => a
- h5fd_LOG_TIME_WRITE :: Num a => a
- h5fd_LOG_TIME_SEEK :: Num a => a
- h5fd_LOG_TIME_CLOSE :: Num a => a
- h5fd_LOG_TIME_IO :: Num a => a
- h5fd_LOG_ALLOC :: Num a => a
- h5fd_LOG_ALL :: Num a => a
- h5fd_log_init :: IO HId_t
- p_H5FD_log_init :: FunPtr (IO HId_t)
- h5p_set_fapl_log :: HId_t -> CString -> CUInt -> CSize -> IO HErr_t
- p_H5Pset_fapl_log :: FunPtr (HId_t -> CString -> CUInt -> CSize -> IO HErr_t)

# Documentation

h5fd_LOG :: HId_t Source #

# Flags for `h5p_set_fapl_log`

## Flags for tracking where readswritesseeks occur

h5fd_LOG_LOC_READ :: Num a => a Source #

h5fd_LOG_LOC_WRITE :: 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_READ :: Num a => a Source #

h5fd_LOG_FILE_WRITE :: Num a => a Source #

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_WRITE :: 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_OPEN :: Num a => a Source #

h5fd_LOG_TIME_READ :: Num a => a Source #

h5fd_LOG_TIME_WRITE :: Num a => a Source #

h5fd_LOG_TIME_SEEK :: Num a => a Source #

h5fd_LOG_TIME_CLOSE :: Num a => a Source #

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 #