Beispiel #1
0
    public String toString() {
      if (mFrame == null) {
        return mLabel;
      }

      return String.format(
          "(%.1f  %.2f  %dx %.2fper) %s#%s",
          mFrame.getTotalTime() / NANOS_PER_MILLI,
          mFrame.getNetTime() / NANOS_PER_MILLI,
          mFrame.getCount(),
          mFrame.getNetTime() / NANOS_PER_MILLI / mFrame.getCount(),
          mFrame.getMethod().getClassName(),
          mFrame.getMethod().getMethodName());
    }
Beispiel #2
0
    public String toString() {
      if (mFrame == null) {
        return mLabel;
      }

      String label =
          ("("
              + toMsec(mFrame.getTotalTime())
              + " "
              + toMsec(mFrame.getNetTime())
              + " "
              + mFrame.getCount()
              + ") "
              + mFrame.getMethod().getMethodName());
      return label;
    }