Lines Matching defs:txBytes
78 private long[] txBytes;
91 public long txBytes;
110 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize];
128 txBytes = readLongArray(in);
142 writeLongArray(out, txBytes, bucketCount);
156 txBytes = readFullLongArray(in);
160 totalBytes = total(rxBytes) + total(txBytes);
171 txBytes = readVarLongArray(in);
175 totalBytes = total(rxBytes) + total(txBytes);
184 || rxPackets.length != bucketCount || txBytes.length != bucketCount
197 writeVarLongArray(out, txBytes, bucketCount);
276 entry.txBytes = getLong(txBytes, 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));
299 long txBytes = entry.txBytes;
331 final long fracTxBytes = txBytes * overlap / duration;
338 addLong(this.txBytes, i, fracTxBytes); txBytes -= fracTxBytes;
345 totalBytes += entry.rxBytes + entry.txBytes;
373 entry.txBytes = getLong(input.txBytes, i, 0L);
410 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength);
424 if (txBytestxBytes, index, txBytes, dstPos, length);
433 setLong(txBytes, index, 0L);
460 if (txBytes != null) txBytes = Arrays.copyOfRange(txBytes, i, length);
488 entry.txBytes = txBytes != null ? 0 : UNKNOWN;
518 if (txBytes != null) entry.txBytes += txBytes[i] * overlap / bucketDuration;
534 final long txBytes = (long) (bytes * (1 - fractionRx));
537 final long txPackets = txBytes / 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
560 entry.txBytes = randomLong(r, 0, txBytes);
566 txBytes -= entry.txBytes;
605 if (txBytes != null) { pw.print(" tb="); pw.print(txBytes[i]); }
624 if (txBytes != null) { pw.print(txBytes[i]); } else { pw.print("*"); } pw.print(',');