Lines Matching defs:rxBytes

74     private long[] rxBytes;
87 public long rxBytes;
106 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize];
124 rxBytes = readLongArray(in);
138 writeLongArray(out, rxBytes, bucketCount);
152 rxBytes = readFullLongArray(in);
158 totalBytes = total(rxBytes) + total(txBytes);
167 rxBytes = readVarLongArray(in);
173 totalBytes = total(rxBytes) + total(txBytes);
181 if (bucketStart.length != bucketCount || rxBytes.length != bucketCount
193 writeVarLongArray(out, rxBytes, bucketCount);
272 entry.rxBytes = getLong(rxBytes, i, UNKNOWN);
285 public void recordData(long start, long end, long rxBytes, long txBytes) {
287 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L));
295 long rxBytes = entry.rxBytes;
327 final long fracRxBytes = rxBytes * overlap / duration;
334 addLong(this.rxBytes, i, fracRxBytes); rxBytes -= fracRxBytes;
343 totalBytes += entry.rxBytes + entry.txBytes;
369 entry.rxBytes = getLong(input.rxBytes, i, 0L);
406 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength);
420 if (rxBytes != null) System.arraycopy(rxBytes, index, rxBytes, dstPos, length);
429 setLong(rxBytes, index, 0L);
456 if (rxBytes != null) rxBytes = Arrays.copyOfRange(rxBytes, i, length);
484 entry.rxBytes = rxBytes != null ? 0 : UNKNOWN;
514 if (rxBytes != null) entry.rxBytes += rxBytes[i] * overlap / bucketDuration;
531 final long rxBytes = (long) (bytes * fractionRx);
534 final long rxPackets = rxBytes / 1024;
536 final long operations = rxBytes / 2048;
538 generateRandom(start, end, rxBytes, rxPackets, txBytes, txPackets, operations, r);
545 public void generateRandom(long start, long end, long rxBytes, long rxPackets, long txBytes,
551 while (rxBytes > 1024 || rxPackets > 128 || txBytes > 1024 || txPackets > 128
556 entry.rxBytes = randomLong(r, 0, rxBytes);
562 rxBytes -= entry.rxBytes;
588 if (rxBytes != null) { pw.print(" rxBytes="); pw.print(rxBytes[i]); }