RTEMS 6.1-rc4
|
Block device statistics. More...
#include <diskdevs.h>
Data Fields | |
uint32_t | read_hits |
Read hit count. | |
uint32_t | read_misses |
Read miss count. | |
uint32_t | read_ahead_transfers |
Read-ahead transfer count. | |
uint32_t | read_ahead_peeks |
Read-ahead transfers caused by a peek. | |
uint32_t | read_blocks |
Count of blocks transfered from the device. | |
uint32_t | read_errors |
Read error count. | |
uint32_t | write_transfers |
Write transfer count. | |
uint32_t | write_blocks |
Count of blocks transfered to the device. | |
uint32_t | write_errors |
Write error count. | |
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. This counts all transfers (including peeks).
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.