Behaviour of xTaskGetTickCount

With xTaskGetTickCount is it giving the tick count for just the current task or the number of ticks used for all tasks? For example if I have

   TickType_t xT0 = xTaskGetTickCount();
   /// DO SOME STUFF
   TickType_t xT1 = xTaskGetTickCount();

and one tick is 1 ms, does xT1-xT0 reflect the number of milliseconds of wall clock time that have passed or only the amount of CPU time spent to do some stuff, not counting the time other tasks have spent doing other things?

1
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article