Lines Matching defs:pw
591 public void dump(IndentingPrintWriter pw, boolean fullHistory) {
592 pw.print("NetworkStatsHistory: bucketDuration=");
593 pw.println(bucketDuration / SECOND_IN_MILLIS);
594 pw.increaseIndent();
598 pw.print("(omitting "); pw.print(start); pw.println(" buckets)");
602 pw.print("st="); pw.print(bucketStart[i] / SECOND_IN_MILLIS);
603 if (rxBytes != null) { pw.print(" rb="); pw.print(rxBytes[i]); }
604 if (rxPackets != null) { pw.print(" rp="); pw.print(rxPackets[i]); }
605 if (txBytes != null) { pw.print(" tb="); pw.print(txBytes[i]); }
606 if (txPackets != null) { pw.print(" tp="); pw.print(txPackets[i]); }
607 if (operations != null) { pw.print(" op="); pw.print(operations[i]); }
608 pw.println();
611 pw.decreaseIndent();
614 public void dumpCheckin(PrintWriter pw) {
615 pw.print("d,");
616 pw.print(bucketDuration / SECOND_IN_MILLIS);
617 pw.println();
620 pw.print("b,");
621 pw.print(bucketStart[i] / SECOND_IN_MILLIS); pw.print(',');
622 if (rxBytes != null) { pw.print(rxBytes[i]); } else { pw.print("*"); } pw.print(',');
623 if (rxPackets != null) { pw.print(rxPackets[i]); } else { pw.print("*"); } pw.print(',');
624 if (txBytes != null) { pw.print(txBytes[i]); } else { pw.print("*"); } pw.print(',');
625 if (txPackets != null) { pw.print(txPackets[i]); } else { pw.print("*"); } pw.print(',');
626 if (operations != null) { pw.print(operations[i]); } else { pw.print("*"); }
627 pw.println();