Compound Module REDQueue

Package: inet.examples.inet.netperfmeter
File: examples/inet/netperfmeter/netperfmeter.ned

(no description)

REDDropper FIFOQueue

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Gates:

Name Direction Size Description
in input
out output

Unassigned submodule parameters:

Name Type Default value Description
red.wq double 0.002

weight of the current queue length in the averaged queue length

red.minths string "30"

minimum thresholds for avg queue length (one number for each gate, last one repeated if needed)

red.maxths string "90"

maximum thresholds for avg queue length (=buffer capacity) (one number for each gate, last one repeated if needed)

red.maxps string "0.10"

maximum value for pbs (one number for each gate, last one repeated if needed)

red.pkrates string "8333.333"

average packet rate for calculations when queue is empty

fifo.queueName string "l2queue"

name of the cQueue object, used in the 'q' tag of the display string

Source code:

module REDQueue like IOutputQueue
{
    gates:
        input in;
        output out;

    submodules:
        red: REDDropper {
            numGates = 1;
            wq = default(0.002);
            minths = default("30");
            maxths = default("90");
            maxps = default("0.10");
            pkrates = default("8333.333");
        }
        fifo: FIFOQueue;
    connections:
        in --> red.in[0];
        red.out[0] --> fifo.in++;
        fifo.out --> out;
}