|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The console's measurements of the panel itself: PSRAM (pseudo-static RAM) speed at start-up, the frame times, and every task's stack and the internal heap at their lowest. More...
#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | PERF_PROBE_CLEARS 4u |
| The clears the start-up probe times, after one that is not timed. | |
Functions | |
| static uint32_t | perf_now_us (void) |
| Nothing: built without RCBENCH_PERF_LOG. | |
| static void | perf_probe_psram (void) |
| Nothing: built without RCBENCH_PERF_LOG. | |
| static void | perf_frame (int screen, uint32_t draw_us, bool flip_timed_out, bool quiet) |
| Nothing: built without RCBENCH_PERF_LOG. | |
The console's measurements of the panel itself: PSRAM (pseudo-static RAM) speed at start-up, the frame times, and every task's stack and the internal heap at their lowest.
Built with the option RCBENCH_PERF_LOG, ON by default (firmware/panel/CMakeLists.txt). Built without it,
idf.py -D RCBENCH_PERF_LOG=OFF build
every call below is an empty inline function, panel_perf.c is not compiled, and the panel prints none of these lines and runs none of their code. docs/Performance.md names the lines and the tables they fill.
SPDX-License-Identifier: MIT
|
inlinestatic |
Nothing: built without RCBENCH_PERF_LOG.
| screen | Unused. |
| draw_us | Unused. |
| flip_timed_out | Unused. |
| quiet | Unused. |
|
inlinestatic |
Nothing: built without RCBENCH_PERF_LOG.