Skip to content

Commit e03c5ff

Browse files
committed
WireJunction: Added interpolation mode parameter to channel owner statistic.
1 parent b6e2ff1 commit e03c5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inet/physicallayer/wired/common/WireJunction.ned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ simple WireJunction extends SimpleModule
3131
@display("i=misc/node_vs");
3232
@signal[packetReceived](type=cPacket);
3333
@statistic[packetReceived](title="packets"; source=packetReceived; record=count,"sum(packetBytes)","vector(packetBytes)"; interpolationmode=none);
34-
@statistic[channelOwner](title="channel owner"; source=packetReceived; record=channelOwner);
34+
@statistic[channelOwner](title="channel owner"; source=packetReceived; record=channelOwner; interpolationmode=sample-hold);
3535
gates:
3636
inout port[];
3737
}

0 commit comments

Comments
 (0)