0

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.

Michael
  • 167
  • 10

0 Answers0