Module stats

Source
Expand description

The queues that gather their statistics when simulating.

Structs§

NewQueue
Computation that creates a new Queue.
Queue
Represents a bounded queue by using the specified strategies for enqueueing (input), SI, internal storing (in memory), SM, and dequeueing (output), SO, where T denotes the type of items stored in the queue.

Functions§

new_fcfs_queue
Create a new bounded FCFS (a.k.a FIFO) queue by the specified capacity.
new_lcfs_queue
Create a new bounded LCFS (a.k.a LIFO) queue by the specified capacity.

Type Aliases§

FCFSQueue
A type synonym for the ordinary FIFO queue, also known as the FCFS (First Come - First Serviced) queue.
LCFSQueue
A type synonym for the ordinary LIFO queue, also known as the LCFS (Last Come - First Serviced) queue.