... | ... | @@ -6,7 +6,7 @@ Use current RTT, because most likely the packet will face this RTT. |
|
|
|
|
|
The timer expires as soon as the first timeout is triggered.
|
|
|
|
|
|
## Precise Time
|
|
|
## Precise Timer
|
|
|
|
|
|
```c
|
|
|
struct prrtTimer {
|
... | ... | @@ -18,4 +18,6 @@ PrrtTimer_create() |
|
|
void PrrtTimer_schedule_timeout(PrrtTimer* t, timespec_t date, void* data);
|
|
|
|
|
|
void* PrrtTimer_wait_for_timeout(PrrtTimer* t);
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
**Use a timer-bypass to not use the kernel but get direct access to the timer.** |
|
|
\ No newline at end of file |