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

Usage statistics in 4 KiB unit. More...

#include <ocf_stats.h>

Data Fields

struct ocf_stat occupancy
 
struct ocf_stat free
 
struct ocf_stat clean
 
struct ocf_stat dirty
 

Detailed Description

Usage statistics in 4 KiB unit.

An example of presenting statistics:

╔══════════════════╤══════════╤═══════╤═════════════╗
║ Usage statistics │  Count   │   %   │   Units     ║
╠══════════════════╪══════════╪═══════╪═════════════╣
║ Occupancy        │       20 │  50.0 │ 4KiB blocks ║
║ Free             │       20 │  50.0 │ 4KiB blocks ║
║ Clean            │       15 │  75.0 │ 4KiB blocks ║
║ Dirty            │        5 │  25.0 │ 4KiB blocks ║
╚══════════════════╧══════════╧═══════╧═════════════╝

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