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

Requests statistcs. More...

#include <ocf_stats.h>

Data Fields

struct ocf_stat rd_hits
 
struct ocf_stat rd_partial_misses
 
struct ocf_stat rd_full_misses
 
struct ocf_stat rd_total
 
struct ocf_stat wr_hits
 
struct ocf_stat wr_partial_misses
 
struct ocf_stat wr_full_misses
 
struct ocf_stat wr_total
 
struct ocf_stat rd_pt
 
struct ocf_stat wr_pt
 
struct ocf_stat serviced
 
struct ocf_stat total
 

Detailed Description

Requests statistcs.

An example of presenting statistics:

╔══════════════════════╤═══════╤═══════╤══════════╗
║ Request statistics   │ Count │   %   │ Units    ║
╠══════════════════════╪═══════╪═══════╪══════════╣
║ Read hits            │    10 │   4.5 │ Requests ║
║ Read partial misses  │     1 │   0.5 │ Requests ║
║ Read full misses     │   211 │  95.0 │ Requests ║
║ Read total           │   222 │ 100.0 │ Requests ║
╟──────────────────────┼───────┼───────┼──────────╢
║ Write hits           │     0 │   0.0 │ Requests ║
║ Write partial misses │     0 │   0.0 │ Requests ║
║ Write full misses    │     0 │   0.0 │ Requests ║
║ Write total          │     0 │   0.0 │ Requests ║
╟──────────────────────┼───────┼───────┼──────────╢
║ Pass-Through reads   │     0 │   0.0 │ Requests ║
║ Pass-Through writes  │     0 │   0.0 │ Requests ║
║ Serviced requests    │   222 │ 100.0 │ Requests ║
╟──────────────────────┼───────┼───────┼──────────╢
║ Total requests       │   222 │ 100.0 │ Requests ║
╚══════════════════════╧═══════╧═══════╧══════════╝

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