X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino%2Fbenchmark%2Farduino_kernel_footprint%2Fmain.c;fp=boards%2Farduino%2Fbenchmark%2Farduino_kernel_footprint%2Fmain.c;h=a3f11e50502a16a0f91b6012420917514a619e0f;hb=a9694caa1505e6387d8976437d38b330499e18dc;hp=0000000000000000000000000000000000000000;hpb=f87390bf71f44a3ed9dc65c66128c5c6979655a9;p=bertos.git diff --git a/boards/arduino/benchmark/arduino_kernel_footprint/main.c b/boards/arduino/benchmark/arduino_kernel_footprint/main.c new file mode 100644 index 00000000..a3f11e50 --- /dev/null +++ b/boards/arduino/benchmark/arduino_kernel_footprint/main.c @@ -0,0 +1,57 @@ +/** + * \file + * + * + * \author Daniele Basile + * + * \brief Kernel footprint benchmark. + * + * This benchmark measures the memory footprint[1] of the BeRTOS kernel with a + * simple minimalist user application. + * + * The purpose of this test is to give a measure of the required space in a + * generic flash memory to store a full-featured BeRTOS kernel. + * + * [1] http://en.wikipedia.org/wiki/Memory_footprint + */ + +#include + +int main(void) +{ + kernel_footprint(); + while (1) + { + } + + return 0; +} +