Platform-specific function to get current ticks (milliseconds)
| 5 | |
| 6 | // Platform-specific function to get current ticks (milliseconds) |
| 7 | uint64_t getPlatformTicks() { |
| 8 | struct timeval now; |
| 9 | gettimeofday(&now, NULL); |
| 10 | return now.tv_sec * 1000LL + now.tv_usec / 1000; |
| 11 | } |
| 12 | |
| 13 | // Callback functions for the timers |
| 14 | void timerCallback1(MultiTimer* timer, void* userData) { |
no outgoing calls
no test coverage detected