Function rttest_spin_once
Defined in File rttest.h
Function Documentation
-
int rttest_spin_once(void *(*user_function)(void*), void *args, const struct timespec *start_time, const size_t i)
Schedule a function call based on the start time, update period, and the iteration of the spin call. The statistics of the wakeup will be collected as the ‘ith’ entry in the data buffer. TODO: implement asynchronous scheduling/logging.
- Parameters:
user_function – [in] Function pointer to execute on interrupt.
Error – [out] code to propagate to main function.
- Returns:
Error code to propagate to main