Skip to content

Commit d0a512e

Browse files
RazorWrecktorZoltanBojthe
authored andcommitted
Update TcpBasicClientApp.ned
added throughput statistic
1 parent 36c5f1a commit d0a512e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/inet/applications/tcpapp/TcpBasicClientApp.ned

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ simple TcpBasicClientApp extends SimpleModule like IApp
7272
@statistic[endToEndDelay](title="end-to-end delay"; source="dataAge(packetReceived)"; unit=s; record=histogram,weightedHistogram,vector; interpolationmode=none);
7373
@statistic[numActiveSessions](title="number of active sessions"; source=warmup(sum(connect)); record=max,timeavg,vector; interpolationmode=sample-hold; autoWarmupFilter=false);
7474
@statistic[numSessions](title="total number of sessions"; source="sum(connect+1)/2"; record=last);
75+
@statistic[throughput](title="throughput of received data"; unit=bps; source="throughput(packetReceived)"; record=vector);
7576
gates:
7677
input socketIn @labels(TcpCommand/up);
7778
output socketOut @labels(TcpCommand/down);

0 commit comments

Comments
 (0)