diff options
author | 2020-07-20 17:35:42 +0200 | |
---|---|---|
committer | 2020-07-20 08:35:42 -0700 | |
commit | b84e1def0b4963e0d32fc05e4faecf2c6ac892b7 (patch) | |
tree | 34185a0965a93344793b2256fb0e5ec32bec0edc /Tools/PerformanceTests/functions_perftest.py | |
parent | 4dcee1f248e18c5a16da5beec287c119258d416e (diff) | |
download | WarpX-b84e1def0b4963e0d32fc05e4faecf2c6ac892b7.tar.gz WarpX-b84e1def0b4963e0d32fc05e4faecf2c6ac892b7.tar.zst WarpX-b84e1def0b4963e0d32fc05e4faecf2c6ac892b7.zip |
instrument FlushFormatPlotfile::WriteToFile and use it in automated perf tests (#1185)
Diffstat (limited to '')
-rw-r--r-- | Tools/PerformanceTests/functions_perftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |