【发布时间】:2016-11-23 18:38:49
【问题描述】:
我想使用基于 Omnet++ 信号的向量计算随时间变化的总体交付率?当有多个源且只有一个接收器时,我如何实现它。
例如,假设我有 10 个移动节点向固定 AP 发送数据,传输率等于(接收/发送数据包),但 AP 只知道接收数据包的数量。
我声明了以下信号和统计数据:
对于 AP:
@signal[receivedBndl](type = "int");
@statistic[receivedBundle](title="ReceivedBundle";source=receivedBndl;record=count,mean,last,vector);
对于节点:
@signal[sentBndl](type = "int");
@statistic[sentBundle](title="SentBundle";source=sentBndl;record=count,mean,last,vector);
是否可以创建另一个 @statistics 来使用这 2 个信号计算随时间变化的交付率?
谢谢,
【问题讨论】:
标签: omnet++