SBB Micro
Source code for the self-balancing-bike microcontroller unit (Teensy 4.1-based). 🚀️
|
Time taken by functions. More...
#include <objects.h>
Public Attributes | |
uint32_t | dt_cycle |
Cycle time. | |
uint32_t | tet |
Task execution time. | |
uint32_t | dt_debug |
Debug time. | |
uint32_t | dt_logger |
Logger time. | |
uint32_t | max_tet = 0 |
Maximum TET. | |
uint32_t | min_tet = -1 |
Minimum TET. | |
Time taken by functions.
The struct contains values to count the time taken by functions.
uint32_t Timing::dt_cycle |
Cycle time.
The time at which the main cycle is called. The value is equal to SAMPLING_TIME, except for possible overrunning.
uint32_t Timing::dt_debug |
Debug time.
The time taken by the debugging. The value is much lower than SAMPLING_TIME, except for possible overrunning.
uint32_t Timing::dt_logger |
Logger time.
The time taken by the data logging. The value is much lower than SAMPLING_TIME, except for possible overrunning.
uint32_t Timing::max_tet = 0 |
Maximum TET.
uint32_t Timing::min_tet = -1 |
Minimum TET.
uint32_t Timing::tet |
Task execution time.
The Time taken by the whole cycle. The value is lower than SAMPLING_TIME, except for possible overrunning.