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.
我需要一个 tcl 或 awk 脚本,可以在我的模拟中使用排队延迟。
您可以使用下面的 awk 脚本
if($4 == "AGT" && $1 == "s") { start_time[$6] = $2; } else if(($7 == "cbr") && ($1 == "r")) { end_time[$6] = $2; }
现在你可以通过减法计算..