Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在下面的模型图像中,图表可视化了服务块的利用率。但是,此利用率表示正在处理的代理的平均数量。
我想知道在模型的总运行时间内服务块延迟代理的时间量。这将为我提供更准确的产能利用率表示。这可能吗?
您可以使用数据集或统计元素(在分析面板中找到)甚至是集合并添加如下值:
进入延迟:
agent.enterTime=time();
在出口处(或在出口处)
data.add(time()-agent.enterTime);
当然,这需要您在代理中添加一个名为 enterTime 的变量。