From b84e1def0b4963e0d32fc05e4faecf2c6ac892b7 Mon Sep 17 00:00:00 2001 From: MaxThevenet Date: Mon, 20 Jul 2020 17:35:42 +0200 Subject: instrument FlushFormatPlotfile::WriteToFile and use it in automated perf tests (#1185) --- Tools/PerformanceTests/functions_perftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/PerformanceTests/functions_perftest.py') diff --git a/Tools/PerformanceTests/functions_perftest.py b/Tools/PerformanceTests/functions_perftest.py index 9a94c97b5..cea2b6107 100644 --- a/Tools/PerformanceTests/functions_perftest.py +++ b/Tools/PerformanceTests/functions_perftest.py @@ -191,7 +191,7 @@ def extract_dataframe(filename, n_steps): line_match_looptime = re.search('\nWarpX::Evolve().*', search_area) time_wo_initialization = float(line_match_looptime.group(0).split()[3]) # New, might break something - line_match_WritePlotFile = re.search('\nWarpX::WritePlotFile().*', search_area) + line_match_WritePlotFile = re.search('\nFlushFormatPlotfile::WriteToFile().*', search_area) if line_match_WritePlotFile is not None: time_WritePlotFile = float(line_match_WritePlotFile.group(0).split()[3]) else: -- cgit v1.2.3