LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::io::Lqn2PnProcessor Struct Reference

Where to read a processor replica. More...

#include <line/io/lqn2pn.h>

Collaboration diagram for line::io::Lqn2PnProcessor:

Public Attributes

std::string name
 processor name, _r<k> suffixed for replica k >= 2
std::string sched
 scheduling, as the Python enum name (FCFS, SIRO, PS, INF)
double mult = 0.0
std::vector< Lqn2PnCell > busy
std::vector< Lqn2PnCell > run

Detailed Description

Where to read a processor replica.

An FCFS or SIRO processor is a token pool: its utilisation is QLen(busy)/mult, and busy holds the single (busy place, cpu class) pair while run is empty. A PS or INF processor has no tokens: its utilisation is the sum of QLen over the run cells divided by mult (Inf for an infinite-server processor), and busy is empty.

Definition at line 96 of file lqn2pn.h.

Member Data Documentation

◆ busy

std::vector<Lqn2PnCell> line::io::Lqn2PnProcessor::busy

Definition at line 100 of file lqn2pn.h.

◆ mult

double line::io::Lqn2PnProcessor::mult = 0.0

Definition at line 99 of file lqn2pn.h.

◆ name

std::string line::io::Lqn2PnProcessor::name

processor name, _r<k> suffixed for replica k >= 2

Definition at line 97 of file lqn2pn.h.

◆ run

std::vector<Lqn2PnCell> line::io::Lqn2PnProcessor::run

Definition at line 101 of file lqn2pn.h.

◆ sched

std::string line::io::Lqn2PnProcessor::sched

scheduling, as the Python enum name (FCFS, SIRO, PS, INF)

Definition at line 98 of file lqn2pn.h.


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