public String toString() {String padd = getPadding();StringBuilder sb = new StringBuilder(super.toString());sb.append(parallel ? " [" : " {");sb.append(NEW_LINE);for (final PerfTask task : tasks) {sb.append(task.toString());sb.append(NEW_LINE);}sb.append(padd);sb.append(!letChildReport ? ">" : (parallel ? "]" : "}"));if (fixedTime) {sb.append(' ').append(NumberFormat.getNumberInstance(Locale.ROOT).format(runTimeSec)).append('s');} else if (repetitions>1) {sb.append(" * ").append(repetitions);} else if (repetitions==REPEAT_EXHAUST) {sb.append(" * EXHAUST");}if (rate>0) {sb.append(",  rate: ").append(rate).append('/').append(perMin ? "min" : "sec");}if (getRunInBackground()) {sb.append(" &");int x = getBackgroundDeltaPriority();if (x != 0) {sb.append(x);}}return sb.toString();}

public override string ToString(){string padd = GetPadding();StringBuilder sb = new StringBuilder(base.ToString());sb.Append(parallel ? " [" : " {");sb.Append(NEW_LINE);foreach (PerfTask task in tasks){sb.Append(task.ToString());sb.Append(NEW_LINE);}sb.Append(padd);sb.Append(!letChildReport ? ">" : (parallel ? "]" : "}"));if (fixedTime){sb.AppendFormat(CultureInfo.InvariantCulture, " {0:N}s", runTimeSec);}else if (repetitions > 1){sb.Append(" * " + repetitions);}else if (repetitions == REPEAT_EXHAUST){sb.Append(" * EXHAUST");}if (rate > 0){sb.Append(",  rate: " + rate + "/" + (perMin ? "min" : "sec"));}if (RunInBackground){sb.Append(" &");int x = BackgroundDeltaPriority;if (x != 0){sb.Append(x);}}return sb.ToString();}
