⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drop.awk

📁 对IEEE 802.11e里的分布式信道接入算法EDCA进行改进
💻 AWK
字号:
BEGIN {	fsDrops = 0;	otherDrops = 0;}($2 >= startTime && $2 <= endTime) {	op = $1;	time = $2;	src = $9;	dst = $10;	if (match(src,"^0\.") && $1 == "+") {		numFs++;	}	if (numFs > 0 && op == "d") {		if (match(src,"^0\."))			fsDrops++;		else			otherDrops++;	}	if (match(src,"^0\.") && ($1 == "-" || $1 == "d"))		numFs--;}END {	print otherDrops, fsDrops;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -