diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-21 10:05:59 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-21 10:05:59 -0800 |
commit | 3d826b9e0acf79466726c5ef188975cb3cec45e0 (patch) | |
tree | a3d7a86c22f075edec35b677fb8333fd46bca7f4 /tools/profiling/microbenchmarks/bm2bq.py | |
parent | f3dec9c995e5c2b85460107a9ad9d937facd9a49 (diff) |
Fix script to track atomic rmws
Diffstat (limited to 'tools/profiling/microbenchmarks/bm2bq.py')
-rwxr-xr-x | tools/profiling/microbenchmarks/bm2bq.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/profiling/microbenchmarks/bm2bq.py b/tools/profiling/microbenchmarks/bm2bq.py index a7d82269f5..62a2f699c7 100755 --- a/tools/profiling/microbenchmarks/bm2bq.py +++ b/tools/profiling/microbenchmarks/bm2bq.py @@ -66,6 +66,7 @@ columns = [ ('cli_stream_stalls_per_iteration', 'float'), ('svr_transport_stalls_per_iteration', 'float'), ('svr_stream_stalls_per_iteration', 'float'), + ('atm_rmw_per_iteration', 'float') ] if sys.argv[1] == '--schema': @@ -158,7 +159,7 @@ def parse_name(name): for bm in js['benchmarks']: context = js['context'] if 'label' in bm: - labels_list = [s.split(':') for s in bm['label'].split(' ')] + labels_list = [s.split(':') for s in bm['label'].strip().split(' ')] for el in labels_list: el[0] = el[0].replace('/iter', '_per_iteration') labels = dict(labels_list) |