KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
|
Go to the source code of this file.
Macros | |
#define | TIMER_SECT_COUNT 3 |
No of timers to add. | |
#define | TIMER_SUM_SECS 5 |
No of seconds to sum. | |
#define | TIMER_SECT_IDLE 0 |
time spend being idle | |
#define | TIMER_SECT_TASK 1 |
time spend executing a task | |
#define | TIMER_SECT_IRQ 2 |
time spend in IRQs | |
#define | TIMER_MAX_COUNT ( TIMER_SUM_SECS * 1000 ) |
Functions | |
void | timerInit () |
Initializes the timer. | |
int | timerMark (int section) |
Starts the timing of a new section, the previous section is returned, or -1 if it is the first. | |
uint32_t * | timerValues () |
Returns. More... | |