RTEMS
5.1
|
Block device statistics. More...
#include <diskdevs.h>
Data Fields | |
uint32_t | read_hits |
Read hit count. More... | |
uint32_t | read_misses |
Read miss count. More... | |
uint32_t | read_ahead_transfers |
Read-ahead transfer count. More... | |
uint32_t | read_blocks |
Count of blocks transfered from the device. | |
uint32_t | read_errors |
Read error count. More... | |
uint32_t | write_transfers |
Write transfer count. More... | |
uint32_t | write_blocks |
Count of blocks transfered to the device. | |
uint32_t | write_errors |
Write error count. More... | |
Block device statistics.
Integer overflows in the statistic counters may happen.
uint32_t rtems_blkdev_stats::read_ahead_transfers |
Read-ahead transfer count.
Each read-ahead transfer may read multiple blocks.
uint32_t rtems_blkdev_stats::read_errors |
Read error count.
Error count of transfers issued by the read or read-ahead requests.
uint32_t rtems_blkdev_stats::read_hits |
Read hit count.
A read hit occurs in the rtems_bdbuf_read() function in case the block is in the cached or modified state.
uint32_t rtems_blkdev_stats::read_misses |
Read miss count.
A read miss occurs in the rtems_bdbuf_read() function in case the block is in the empty state and a read transfer must be initiated to read the data from the device.
uint32_t rtems_blkdev_stats::write_errors |
Write error count.
Error count of transfers issued by write requests.
uint32_t rtems_blkdev_stats::write_transfers |
Write transfer count.
Each write transfer may write multiple blocks.