This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC1350: Computing elapsed time after an operation

Part Number: CC1350


Tool/software: TI-RTOS

Hello,

 Could someone explain how to compute the time between operation 1 and operation 5, supposing we have 5 operations for example ( like reading from sensor sending data .. etc)

is there a function which gives the number of clock ticks , so that i can subtract the number of clock ticks in operation1 from the clock ticks in operation 5 (and then convert it to millisecond) ?

how would it look like in code for CC1350 sensortag.

Thanks a lot in advance