Open CAS Framework
Open source framework of Cache Acceleration Software
Data Fields
ocf_stats_blocks Struct Reference

Block statistics. More...

#include <ocf_stats.h>

Data Fields

struct ocf_stat core_volume_rd
 
struct ocf_stat core_volume_wr
 
struct ocf_stat core_volume_total
 
struct ocf_stat cache_volume_rd
 
struct ocf_stat cache_volume_wr
 
struct ocf_stat cache_volume_total
 
struct ocf_stat volume_rd
 
struct ocf_stat volume_wr
 
struct ocf_stat volume_total
 

Detailed Description

Block statistics.

An example of presenting statistics:

╔════════════════════════════════════╤═══════╤═══════╤═════════════╗
║ Block statistics                   │ Count │   %   │   Units     ║
╠════════════════════════════════════╪═══════╪═══════╪═════════════╣
║ Reads from core volume(s)          │   426 │ 100.0 │ 4KiB blocks ║
║ Writes to core volume(s)           │     0 │   0.0 │ 4KiB blocks ║
║ Total to/from core volume (s)      │   426 │ 100.0 │ 4KiB blocks ║
╟────────────────────────────────────┼───────┼───────┼─────────────╢
║ Reads from cache volume            │    13 │   3.0 │ 4KiB blocks ║
║ Writes to cache volume             │   426 │  97.0 │ 4KiB blocks ║
║ Total to/from cache volume         │   439 │ 100.0 │ 4KiB blocks ║
╟────────────────────────────────────┼───────┼───────┼─────────────╢
║ Reads from core(s)                 │   439 │ 100.0 │ 4KiB blocks ║
║ Writes to core(s)                  │     0 │   0.0 │ 4KiB blocks ║
║ Total to/from core(s)              │   439 │ 100.0 │ 4KiB blocks ║
╚════════════════════════════════════╧═══════╧═══════╧═════════════╝

The documentation for this struct was generated from the following file: