Lines Matching defs:txBytes

76     private long[] txBytes;
89 public long txBytes;
108 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize];
126 txBytes = readLongArray(in);
140 writeLongArray(out, txBytes, bucketCount);
154 txBytes = readFullLongArray(in);
158 totalBytes = total(rxBytes) + total(txBytes);
169 txBytes = readVarLongArray(in);
173 totalBytes = total(rxBytes) + total(txBytes);
182 || rxPackets.length != bucketCount || txBytes.length != bucketCount
195 writeVarLongArray(out, txBytes, bucketCount);
274 entry.txBytes = getLong(txBytes, 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));
297 long txBytes = entry.txBytes;
329 final long fracTxBytes = txBytes * overlap / duration;
336 addLong(this.txBytes, i, fracTxBytes); txBytes -= fracTxBytes;
343 totalBytes += entry.rxBytes + entry.txBytes;
371 entry.txBytes = getLong(input.txBytes, i, 0L);
408 if (txBytes != null) txBytes = Arrays.copyOf(txBytes, newLength);
422 if (txBytes != null) System.arraycopy(txBytes, index, txBytes, dstPos, length);
431 setLong(txBytes, index, 0L);
458 if (txBytes != null) txBytes = Arrays.copyOfRange(txBytes, i, length);
486 entry.txBytes = txBytes != null ? 0 : UNKNOWN;
516 if (txBytes != null) entry.txBytes += txBytes[i] * overlap / bucketDuration;
532 final long txBytes = (long) (bytes * (1 - fractionRx));
535 final long txPackets = txBytes / 1024;
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
558 entry.txBytes = randomLong(r, 0, txBytes);
564 txBytes -= entry.txBytes;
590 if (txBytes != null) { pw.print(" txBytes="); pw.print(txBytes[i]); }