ndn-embeds 0.1.0
Lightweight NDN protocol stack for embedded systems
Loading...
Searching...
No Matches
ndn::ContentStore::Stats Struct Reference

CS statistics. More...

#include <ndn/cs.hpp>

Public Attributes

uint32_t hits = 0
 Cache hit count.
 
uint32_t misses = 0
 Cache miss count.
 
uint32_t insertions = 0
 Insertion count.
 
uint32_t evictions = 0
 Eviction count.
 

Detailed Description

CS statistics.

Definition at line 186 of file cs.hpp.

Member Data Documentation

◆ evictions

uint32_t ndn::ContentStore::Stats::evictions = 0

Eviction count.

Definition at line 190 of file cs.hpp.

Referenced by ndn::ContentStore::evictStale(), and ndn::ContentStore::insert().

◆ hits

uint32_t ndn::ContentStore::Stats::hits = 0

Cache hit count.

Definition at line 187 of file cs.hpp.

◆ insertions

uint32_t ndn::ContentStore::Stats::insertions = 0

Insertion count.

Definition at line 189 of file cs.hpp.

Referenced by ndn::ContentStore::insert().

◆ misses

uint32_t ndn::ContentStore::Stats::misses = 0

Cache miss count.

Definition at line 188 of file cs.hpp.


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