Skip to content

Commit a356b3f

Browse files
committed
add benchmarks to decoder and recon-util
1 parent 89f634c commit a356b3f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder4.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@ public static void main(String[] args){
862862

863863
writer.open(outputFile);
864864
ProgressPrintout progress = new ProgressPrintout();
865+
progress.addBenchmarks();
865866
System.out.println("INPUT LIST SIZE = " + inputList.size());
866867
int nevents = parser.getOption("-n").intValue();
867868
int counter = 0;

common-tools/clas-reco/src/main/java/org/jlab/clas/reco/EngineProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ public void processFile(String file, String output, int nskip, int nevents){
313313
if(nskip>0 && nevents>0) nevents += nskip;
314314

315315
ProgressPrintout progress = new ProgressPrintout();
316+
progress.addBenchmarks();
316317
while(reader.hasEvent()==true){
317318
DataEvent event = reader.getNextEvent();
318319
if(nskip<=0 || eventCounter>nskip) {

0 commit comments

Comments
 (0)