File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ def num_ranks(match):
235235 return True
236236
237237 @run_before ('performance' )
238- def set_perf_patterns (self ):
238+ def set_reference (self ):
239239 # Reference value is system agnostic
240240 # Adding 10 secs of slowdown per greasy tasks
241241 # this is to compensate for whenever the systems are full and srun gets
@@ -249,8 +249,8 @@ def set_perf_patterns(self):
249249 'time' : (refperf , None , 0.5 , 's' )
250250 }
251251 }
252- self . perf_patterns = {
253- 'time' : sn . extractsingle ( r'Total time: (?P<perf>\S+)' ,
254- self . greasy_logfile ,
255- ' perf' , to_seconds )
256- }
252+
253+ @ performance_function ( 's' )
254+ def time ( self ):
255+ return sn . extractsingle ( r'Total time: (?P< perf>\S+)' ,
256+ self . greasy_logfile , 'perf' , to_seconds )
You can’t perform that action at this time.
0 commit comments