File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
reconstruction/ai/src/main/java/org/jlab/service/ai Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 2222import org .jlab .clas .reco .ReconstructionEngine ;
2323import org .jlab .io .base .DataBank ;
2424import org .jlab .io .base .DataEvent ;
25- import org .jlab .utils .benchmark .Benchmark ;
2625import org .jlab .utils .system .ClasUtilsFile ;
2726
2827public class DCDenoiseEngine extends ReconstructionEngine {
@@ -99,14 +98,10 @@ public boolean processDataEvent(DataEvent event) {
9998 DataBank bank = event .getBank (BANK_NAMES [i ]);
10099 try {
101100 // WARNING: Predictor is *not* thread safe.
102- Benchmark .getInstance ().resume ("GETPRED" );
103101 Predictor <float [][], float [][]> predictor = predictors .get ();
104- Benchmark .getInstance ().pause ("GETPRED" );
105102 for (int sector =0 ; sector <6 ; sector ++) {
106103 float [][] input = DCDenoiseEngine .read (bank , sector +1 );
107- Benchmark .getInstance ().resume ("PREDICT" );
108104 float [][] output = predictor .predict (input );
109- Benchmark .getInstance ().pause ("PREDICT" );
110105 //System.out.println("IN:");show(input);
111106 //System.out.println("OUT:");show(output);
112107 update (bank , threshold , output , sector );
You can’t perform that action at this time.
0 commit comments