SixTrack / sixtracklib

Library for single charged particle simulations in accelerators
GNU Lesser General Public License v2.1
12 stars 16 forks source link

Re-Adds scripted benchmark support (C++) #101

Open martinschwinzerl opened 5 years ago

martinschwinzerl commented 5 years ago

Adds a script that performs timed runs of a set of tracking operations as per the instructions in a TOML config file. Please see the tests/bechmark/benchmark_template.config file for a cofiguration template.

Note: At the moment, only the C++ Bindings are supported as there is no common base class for the OpenCL/CPU and Cuda implementations of TrackJobs and thus a proper C99 implementation is not straightforward. This will be fixed. Also, the program directly embedds the MIT licensed tomlc99. This should also be considered a temporary way of handling things.