libpilot - ascar-io/pilot-bench GitHub Wiki
The functions described on this page are still under construction and are subject to change.
Introduction
libpilot is a library with a C interface for accessing all functions of pilot.
See func_test_seq_write.cc and Performance measurement of a C++ function for samples.
Programming Interface
Importing Existing Results
You can import existing benchmark data into a libpilot session and analyze them using libpilot's analytical functions. Check out pilot_import_benchmark_results().
Iterator
Iterators can be used to iterator over unit readings, with warm-up phase removed. Check out the functions pilot_pi_unit_readings_iter_*(), and see lib/test/unit_test_unit_readings_iter.cc as a sample.