diff Discovery/Inc/base.h @ 896:f29369fff71e Evo_2_23

Development Feature Runtime in Debugview: Added a compile switch which allows to show the deco, grafix and main loop runtimes in the T7 debug view.
author ideenmodellierer
date Thu, 26 Sep 2024 18:32:36 +0200
parents 45b8f3c2acce
children
line wrap: on
line diff
--- a/Discovery/Inc/base.h	Wed Sep 18 14:31:06 2024 +0200
+++ b/Discovery/Inc/base.h	Thu Sep 26 18:32:36 2024 +0200
@@ -123,6 +123,12 @@
 void StoreButtonAction(uint8_t action);
 SButtonLock get_ButtonLock(void);
 
+#ifdef T7_DEBUG_RUNTIME
+uint32_t getMainLoopTime();
+uint32_t getDecoLoopTime();
+uint32_t getGfxLoopTime();
+#endif
+
 #endif /* BASE_H */
 
 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/