Skip to content

Commit cfdf481

Browse files
committed
remove parentheses printout
1 parent 48fd9c5 commit cfdf481

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎common-tools/clas-utils/src/main/java/org/jlab/utils/benchmark/BenchmarkTimer.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public double getSeconds(){
5858
public String toString() {
5959
double timePerCall = 0.0;
6060
if (numberOfCalls != 0) timePerCall = getMiliseconds() / numberOfCalls;
61-
return String.format("(%-15s) : #Calls %12d, Total = %12.2f sec, Unit = %12.3f msec",
61+
return String.format("%-15s : #Calls %12d, Total = %12.2f sec, Unit = %12.3f msec",
6262
getName(), numberOfCalls, getSeconds(), timePerCall);
6363
}
6464
}

‎common-tools/clas-utils/src/main/java/org/jlab/utils/benchmark/BenchmarkTimerTotal.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public BenchmarkTimerTotal(String name) {
1818
public String toString() {
1919
double timePerCall = 0.0;
2020
if (numberOfCalls != 0) timePerCall = getMiliseconds() / numberOfCalls * benchmarks.size();
21-
return String.format("(%-15s) : #Calls %12d, Total = %12.2f sec, Unit = %12.3f msec",
21+
return String.format("%-15s : #Calls %12d, Total = %12.2f sec, Unit = %12.3f msec",
2222
getName(), numberOfCalls, getSeconds(), timePerCall);
2323
}
2424

0 commit comments

Comments
 (0)