Util: CDPQ stat description tweak

This commit is contained in:
zzz
2022-01-25 09:29:43 -05:00
parent f17cd24dc8
commit 8812e822f9

View File

@@ -92,7 +92,8 @@ public class CoDelPriorityBlockingQueue<E extends CDPQEntry> extends PriBlocking
STAT_DROP = ("codel." + name + ".drop.").intern();
STAT_DELAY = ("codel." + name + ".delay").intern();
for (int i = 0; i < PRIORITIES.length; i++) {
ctx.statManager().createRateStat(STAT_DROP + PRIORITIES[i], "queue delay of dropped items by priority", "Router", RATES);
int p = PRIORITIES[i];
ctx.statManager().createRateStat(STAT_DROP + p, "queue delay of dropped items with priority " + p + '-' + (p+99), "Router", RATES);
}
ctx.statManager().createRateStat(STAT_DELAY, "average queue delay", "Router", RATES);
_id = __id.incrementAndGet();