'Task scheduler application within Embedded Linux
I am working with an iMX6 and I have created my own example application.
I want to create an application scheduler based off of the RIOS simple scheduler. I plan to use the Linux tick time to time my tasks. I came across this post for getting the timing of the OS using C code.
I am wondering if this is sufficient to use when scheduling/running tasks within my application. Is there a better timing method?
Edit: Would using time(NULL) and difftime be more appropriate? Just curious what people have done/used.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
