Lines Matching defs:rxPackets
77 private long[] rxPackets;
90 public long rxPackets;
109 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize];
127 rxPackets = readLongArray(in);
141 writeLongArray(out, rxPackets, bucketCount);
155 rxPackets = new long[bucketStart.length];
170 rxPackets = readVarLongArray(in);
184 || rxPackets.length != bucketCount || txBytes.length != bucketCount
196 writeVarLongArray(out, rxPackets, bucketCount);
275 entry.rxPackets = getLong(rxPackets, i, UNKNOWN);
298 long rxPackets = entry.rxPackets;
330 final long fracRxPackets = rxPackets * overlap / duration;
337 addLong(this.rxPackets, i, fracRxPackets); rxPackets -= fracRxPackets;
372 entry.rxPackets = getLong(input.rxPackets, i, 0L);
409 if (rxPackets != null) rxPackets = Arrays.copyOf(rxPackets, newLength);
423 if (rxPackets != null) System.arraycopy(rxPackets, index, rxPackets, dstPos, length);
432 setLong(rxPackets, index, 0L);
459 if (rxPackets != null) rxPackets = Arrays.copyOfRange(rxPackets, i, length);
487 entry.rxPackets = rxPackets != null ? 0 : UNKNOWN;
517 if (rxPackets != null) entry.rxPackets += rxPackets[i] * overlap / bucketDuration;
536 final long rxPackets = rxBytes / 1024;
540 generateRandom(start, end, rxBytes, rxPackets, txBytes, txPackets, operations, r);
547 public void generateRandom(long start, long end, long rxBytes, long rxPackets, long txBytes,
553 while (rxBytes > 1024 || rxPackets > 128 || txBytes > 1024 || txPackets > 128
559 entry.rxPackets = randomLong(r, 0, rxPackets);
565 rxPackets -= entry.rxPackets;
604 if (rxPackets != null) { pw.print(" rp="); pw.print(rxPackets[i]); }
623 if (rxPackets != null) { pw.print(rxPackets[i]); } else { pw.print("*"); } pw.print(',');