Loading src/app/treebench/Makefile.inc +0 −4 Original line number Diff line number Diff line Loading @@ -3,7 +3,3 @@ # Copyright 2020 Daniel Friesel # # SPDX-License-Identifier: CC0-1.0 ifdef app loop = 1 endif src/app/treebench/main.cc +8 −9 Original line number Diff line number Diff line Loading @@ -11,22 +11,21 @@ #include "tree.c.inc" void loop(void) int main(void) { arch.setup(); gpio.setup(); kout.setup(); counter.start(); counter.stop(); kout << "nop @ " << counter.value << "/" << counter.overflow << " cycles" << endl << endl; run_benchmark(); } int main(void) { arch.setup(); gpio.setup(); kout.setup(); arch.idle_loop(); while (1) { arch.idle(); } return 0; } Loading
src/app/treebench/Makefile.inc +0 −4 Original line number Diff line number Diff line Loading @@ -3,7 +3,3 @@ # Copyright 2020 Daniel Friesel # # SPDX-License-Identifier: CC0-1.0 ifdef app loop = 1 endif
src/app/treebench/main.cc +8 −9 Original line number Diff line number Diff line Loading @@ -11,22 +11,21 @@ #include "tree.c.inc" void loop(void) int main(void) { arch.setup(); gpio.setup(); kout.setup(); counter.start(); counter.stop(); kout << "nop @ " << counter.value << "/" << counter.overflow << " cycles" << endl << endl; run_benchmark(); } int main(void) { arch.setup(); gpio.setup(); kout.setup(); arch.idle_loop(); while (1) { arch.idle(); } return 0; }