- Add program option
modeto select how the input is passed to the thread-stream pairs:
benchmark: should be as reproducible as possible, and should distribute an equal amount of work to each thread/stream. Each thread/stream should run a total of
events-per-slice * repetitionsevents. All thread/streams runs on the same events.
throughput: is meant for representative throughput measurements across significative portions of data samples. It should be used only with MEP or MDF input. In total
events-per-slice * number-of-slices * repetitionsevents are processed. This should be independent of the number of thread-stream pairs.
datataking: continuous mode is the actual data taking mode. The program is run indefinitely.
MC-Check: A configurable number of events is processed, w/o repetitions.
throughput mode is a new feature, which enables throughput measurements across larger sets of events. Until now, we measured throughput only in
benchmark style, where the same events are passed to all thread-stream pairs.
throughput mode on the other hand loads a configurable number of events and passes different chunks of events to different thread-stream pairs.
Based on !561 (merged)
Marked as WIP until a CI test is added for the throughput mode.