LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::cache::CacheLrumMapLevelStats< T > Struct Template Reference

Per-item level statistics, MATLAB's [prob, occ, hitfrac]. More...

#include <line/api/cache/cache_lrum_map_levelstats.h>

Public Attributes

std::vector< T > prob
 (h+1) time-stationary probability of level 0..h
std::vector< T > occ
 (h) occupancy of lists 1..h, prob(2:end)
std::vector< T > hitfrac
 (h) fraction of the item's requests hitting in list l

Detailed Description

template<class T>
struct line::cache::CacheLrumMapLevelStats< T >

Per-item level statistics, MATLAB's [prob, occ, hitfrac].

Definition at line 73 of file cache_lrum_map_levelstats.h.

Member Data Documentation

◆ hitfrac

template<class T>
std::vector<T> line::cache::CacheLrumMapLevelStats< T >::hitfrac

(h) fraction of the item's requests hitting in list l

Definition at line 76 of file cache_lrum_map_levelstats.h.

Referenced by line::cache::cache_lrum_map_levelstats(), and line::cache::cache_ttl_lrum_map().

◆ occ

template<class T>
std::vector<T> line::cache::CacheLrumMapLevelStats< T >::occ

(h) occupancy of lists 1..h, prob(2:end)

Definition at line 75 of file cache_lrum_map_levelstats.h.

Referenced by line::cache::cache_lrum_map_levelstats().

◆ prob

template<class T>
std::vector<T> line::cache::CacheLrumMapLevelStats< T >::prob

(h+1) time-stationary probability of level 0..h

Definition at line 74 of file cache_lrum_map_levelstats.h.

Referenced by line::cache::cache_lrum_map_levelstats(), and line::cache::cache_ttl_lrum_map().


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