Copyright Tecnalia 2020
This is an example of Performance Indicator implemented in python. It is prepared to be used within the Eurobench Benchmarking Software.
pi_sample_duration basically measures the duration of an experiment, by reading a unique csv file containing a timestamp column, and returns as PI values the difference between the timestamps of the last and first line recorded.
Requires the following packages (install with apt-get): python3, python3-venv .
And then run the following commands:
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r src/pi_sample_duration/requirements.txt
python src/pi_sample_duration/setup.py developRun the following command in order to create the docker image for this PI:
docker build . -t pi_sample_durationAssuming the folder test_data/input/ contains the input data, and that the directory out_folder/ is created, and will contain the PI output:
docker run --rm -v $PWD/test_data/input:/in -v $PWD/out_folder:/out pi_sample_duration ./run_pi /in/data_in.csv /outSupported by Eurobench - the European robotic platform for bipedal locomotion benchmarking. More information: eurobench2020.eu
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement no. No 779963.

