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

A sojourn average: xbar (empty when wtot is not positive), clock mass, per-user miss rate. More...

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

Collaboration diagram for line::cache::CacheSojournResult< T >:

Public Member Functions

bool empty () const

Public Attributes

std::vector< T > xbar
T wtot = num_traits<T>::from_int(0)
std::vector< T > MU
 per-user miss rate of xbar, filled by the policy

Detailed Description

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

A sojourn average: xbar (empty when wtot is not positive), clock mass, per-user miss rate.

Definition at line 45 of file cache_sojourn.h.

Member Function Documentation

◆ empty()

template<class T>
bool line::cache::CacheSojournResult< T >::empty ( ) const
inline

Definition at line 49 of file cache_sojourn.h.

References xbar.

Member Data Documentation

◆ MU

template<class T>
std::vector<T> line::cache::CacheSojournResult< T >::MU

per-user miss rate of xbar, filled by the policy

Definition at line 48 of file cache_sojourn.h.

◆ wtot

template<class T>
T line::cache::CacheSojournResult< T >::wtot = num_traits<T>::from_int(0)

Definition at line 47 of file cache_sojourn.h.

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

◆ xbar

template<class T>
std::vector<T> line::cache::CacheSojournResult< T >::xbar

Definition at line 46 of file cache_sojourn.h.

Referenced by line::cache::cache_sojourn_ode(), and empty().


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