forked from I2P_Developers/i2p.i2p
Util: CDPQ stat description tweak
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user