Home | History | Annotate | Download | only in net

Lines Matching refs:rxBytes

76     private long[] rxBytes;
89 public long rxBytes;
108 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize];
126 rxBytes = readLongArray(in);
140 writeLongArray(out, rxBytes, bucketCount);
154 rxBytes = readFullLongArray(in);
160 totalBytes = total(rxBytes) + total(txBytes);
169 rxBytes = readVarLongArray(in);
175 totalBytes = total(rxBytes) + total(txBytes);
183 if (bucketStart.length != bucketCount || rxBytes.length != bucketCount
195 writeVarLongArray(out, rxBytes, bucketCount);
274 entry.rxBytes = getLong(rxBytes, i, UNKNOWN);
287 public void recordData(long start, long end, long rxBytes, long txBytes) {
289 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L));
297 long rxBytes = entry.rxBytes;
329 final long fracRxBytes = rxBytes * overlap / duration;
336 addLong(this.rxBytes, i, fracRxBytes); rxBytes -= fracRxBytes;
345 totalBytes += entry.rxBytes + entry.txBytes;
371 entry.rxBytes = getLong(input.rxBytes, i, 0L);
408 if (rxBytes != null) rxBytes = Arrays.copyOf(rxBytes, newLength);
422 if (rxBytes != null) System.arraycopy(rxBytes, index, rxBytes, dstPos, length);
431 setLong(rxBytes, index, 0L);
458 if (rxBytes != null) rxBytes = Arrays.copyOfRange(rxBytes, i, length);
486 entry.rxBytes = rxBytes != null ? 0 : UNKNOWN;
516 if (rxBytes != null) entry.rxBytes += rxBytes[i] * overlap / bucketDuration;
533 final long rxBytes = (long) (bytes * fractionRx);
536 final long rxPackets = rxBytes / 1024;
538 final long operations = rxBytes / 2048;
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
558 entry.rxBytes = randomLong(r, 0, rxBytes);
564 rxBytes -= entry.rxBytes;
603 if (rxBytes != null) { pw.print(" rb="); pw.print(rxBytes[i]); }
622 if (rxBytes != null) { pw.print(rxBytes[i]); } else { pw.print("*"); } pw.print(',');