MultihopD2DStatistics

Package: simu5g.apps.d2dMultihop.statistics

simple module MultihopD2DStatistics

Only used in conjunction with UEs running instances of the MultihopD2D application. It collects statistics related to notification messages broadcast by the MultihopD2D applications by gathering data through method calls from these applications.

Each time a MultihopD2D application generates a new message (upon notification by the EventGenerator module), a new event is registered via the recordNewBroadcast() function. Each event is tied to a *target area*, which represents a defined set of nodes intended to receive the notification of the event. The receiving nodes report the event back to this module in order to update the statistics related to that event. For instance, upon receiving a message, the node will call the recordReception() function to record the ‘reception’ event.

simu5g.apps.d2dMultihop.statistics.MultihopD2DStatisticsMultihopD2DStatisticssimple

Usage diagram

Used in

Name

Type

Description

MultiCell_D2DMultihop

network

Five eNodeB cells, each reaching the EPC PgwStandard through a router of its own, with a further router and a server behind the core. There are no X2 links. numUe1 to numUe5 LteUe terminals attach per cell, and an EventGenerator and a MultihopD2DStatistics module sit beside them, wired to nothing.

Properties

Name

Value

Description

display

i=block/cogwheel

Signals

Name

Type

Unit

Description

d2dMultihopEventCompleteDeliveries

d2dMultihopEventDelay

d2dMultihopEventDelay95Per

d2dMultihopEventDeliveryRatio

d2dMultihopEventRcvdDupMsg

d2dMultihopEventSentMsg

d2dMultihopEventTrickleSuppressedMsg

Statistics

Name

Title

Source

Record

Unit

Interpolation Mode

Description

d2dMultihopEventCompleteDeliveries

Complete-deliveries within the area

d2dMultihopEventCompleteDeliveries

stats

d2dMultihopEventDelay

Delay of broadcasting within the area

d2dMultihopEventDelay

mean,min,max

d2dMultihopEventDelay95Per

95th percentile of the delay of broadcasting within the area

d2dMultihopEventDelay95Per

mean,min,max

d2dMultihopEventDeliveryRatio

Delivery ratio per broadcast event

d2dMultihopEventDeliveryRatio

mean,min,max

d2dMultihopEventRcvdDupMsg

Number of duplicates within the area

d2dMultihopEventRcvdDupMsg

stats

d2dMultihopEventSentMsg

Number of transmissions per broadcast event

d2dMultihopEventSentMsg

mean,sum,min,max,vector

d2dMultihopEventTrickleSuppressedMsg

Number of suppressed transmissions per broadcast event

d2dMultihopEventTrickleSuppressedMsg

mean,sum,min,max,vector

Source code

//
// Only used in conjunction with UEs running instances of the
// ~MultihopD2D application. It collects statistics related to notification messages
// broadcast by the ~MultihopD2D applications by gathering data through method
// calls from these applications.
//
// Each time a ~MultihopD2D application generates a new message (upon notification
// by the ~EventGenerator module), a new event is registered via the
// recordNewBroadcast() function. Each event is tied to a *target area*, which
// represents a defined set of nodes intended to receive the notification of
// the event. The receiving nodes report the event back to this module in order
// to update the statistics related to that event. For instance, upon receiving a
// message, the node will call the recordReception() function to record the
// 'reception' event.
//
simple MultihopD2DStatistics
{
    parameters:
        @signal[d2dMultihopEventDeliveryRatio];
        @statistic[d2dMultihopEventDeliveryRatio](title="Delivery ratio per broadcast event"; unit=""; source="d2dMultihopEventDeliveryRatio"; record=mean,min,max);
        @signal[d2dMultihopEventDelay];
        @statistic[d2dMultihopEventDelay](title="Delay of broadcasting within the area"; unit=""; source="d2dMultihopEventDelay"; record=mean,min,max);
        @signal[d2dMultihopEventDelay95Per];
        @statistic[d2dMultihopEventDelay95Per](title="95th percentile of the delay of broadcasting within the area"; unit=""; source="d2dMultihopEventDelay95Per"; record=mean,min,max);
        @signal[d2dMultihopEventSentMsg];
        @statistic[d2dMultihopEventSentMsg](title="Number of transmissions per broadcast event"; unit=""; source="d2dMultihopEventSentMsg"; record=mean,sum,min,max,vector);
        @signal[d2dMultihopEventTrickleSuppressedMsg];
        @statistic[d2dMultihopEventTrickleSuppressedMsg](title="Number of suppressed transmissions per broadcast event"; unit=""; source="d2dMultihopEventTrickleSuppressedMsg"; record=mean,sum,min,max,vector);
        @signal[d2dMultihopEventRcvdDupMsg];
        @statistic[d2dMultihopEventRcvdDupMsg](title="Number of duplicates within the area"; unit=""; source="d2dMultihopEventRcvdDupMsg"; record=stats);
        @signal[d2dMultihopEventCompleteDeliveries];
        @statistic[d2dMultihopEventCompleteDeliveries](title="Complete-deliveries within the area"; unit=""; source="d2dMultihopEventCompleteDeliveries"; record=stats);


        @display("i=block/cogwheel");
}

File: src/simu5g/apps/d2dMultihop/statistics/MultihopD2DStatistics.ned