The Simulation Database Abstraction Layer can be used to abstract database accesses to store tracing data during simulation. It provides a thread-safe interface and backend implementations for SQLite and a CSV-based database. The project contains predefined entry types which can be stored in the database. Documentation of the resulting database tables can be found here.
-
Clone the git repository
git clone https://github.com/nbosb/simdal.git
-
Choose directories for building and deployment
<source-dir> location of your repo copy, e.g. /home/nils/simdal <build-dir> location to store object files, e.g. /home/nils/simdal/BUILD <install-dir> output directory for binaries, e.g. /opt/simdal -
Configure and build the SIMDAL using
cmake. During configuration, you can specify the following options:-DSIMDAL_BUILD_TESTS=[ON|OFF]: Build unit tests (default:OFF)
Release and debug build configurations are controlled via the regular parameters (
-DCMAKE_BUILD_TYPE):mkdir -p <build-dir> cd <build-dir> cmake -DCMAKE_INSTALL_PREFIX=<install-dir> -DCMAKE_BUILD_TYPE=Release <source-dir> make -j`nproc` make install
If building with
-DSIMDAL_BUILD_TESTS=ON, you can run all unit tests usingmake testwithin the<build-dir> -
After installation, the following files and directories should be present:
<install-dir>/include # header files <install-dir>/lib64/libsimdal.a # simdal library <install-dir>/tests # unit tests (if enabled)
An overview of the created tables of the database can be found here.
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.