Compute total bandwidth for spruce_all_lines throughput test
Work towards lhcb-dpa/project#199.
In the option of spruce_all_lines
throughput test we register all lines into one single stream,
and the Moore run will measure the total event size of this stream and produce info like:
EvtSize_AllStreams INFO Number of counters : 2
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "DstData bank size (bytes)" | 4929 |9.437373e+07 | 19147.0 | 84902.0 | 2367.0 | 4.8024e+06 |
| "Event size (bytes)" | 4929 |1.095428e+08 | 22224.0 | 84929.0 | 4133.0 | 4.8063e+06 |
Now I've added several lines to parse this info and comput the total bandwidth with
bandwidth = tot_evt_size / n_processed_evts * input_rate
The test will print out messages like
Bandwidth is MB/s = 2645.3415
cc @nskidmor