Timing expansion: measurements per function (CLAUDE)

This commit is contained in:
Niklas Jensen
2025-12-26 20:19:54 +01:00
parent e5e8a94acd
commit cefeb11e10
3 changed files with 53 additions and 2 deletions
+7 -1
View File
@@ -264,7 +264,13 @@ void IRAM_ATTR SpotControlLoopEntry(void *) {
#if FT_ENABLED(USE_WS2812)
ledService.loop();
#endif
vTaskDelayUntil(&xLastWakeTime, xFrequency);
CALLS_PER_SECOND_TIMED(SpotControlLoopEntry,
CALLS_PER_SECOND_TIMED_FUNC_PRINT(SpotControlLoopEntry, peripherals_update)
CALLS_PER_SECOND_TIMED_FUNC_PRINT(SpotControlLoopEntry, motionService_update)
CALLS_PER_SECOND_TIMED_FUNC_PRINT(SpotControlLoopEntry, servoController_setAngles)
CALLS_PER_SECOND_TIMED_FUNC_PRINT(SpotControlLoopEntry, servoController_update)
);
// vTaskDelayUntil(&xLastWakeTime, xFrequency);
}
}