Thread tick time
Posted: Fri Dec 04, 2015 3:59 pm
in 2.6 you could use
to get the amount of time a thread had comsumed
in 3.0.3 you cant, you could use chThdGetTicksX but this is only available if you enable CH_DBG_THREADS_PROFILING, but if you enable this, you get errors about tickless mode, which i'm not using
So how do i do this ?
Code: Select all
(uint32_t)tp->p_time
to get the amount of time a thread had comsumed
in 3.0.3 you cant, you could use chThdGetTicksX but this is only available if you enable CH_DBG_THREADS_PROFILING, but if you enable this, you get errors about tickless mode, which i'm not using
So how do i do this ?