Hi,
I would like to add the elapsed time after power on in the debug message to specify the time sequence of code running and I prefer to use the system tick. However, I did not find the function interface to get current system tick.
Could you please help specify which interface should be used? Or is there any alternative solution for this purpose?
Hope to get your reply soon.
Solved! Go to Solution.
Hi @WilliamLiSH
For elapsed time, I would suggest you use _time_get_elapsed() in second/millisecond time.
or in tick time with _time_get_elapsed_ticks().
Regards
Daniel
Hi @WilliamLiSH
For elapsed time, I would suggest you use _time_get_elapsed() in second/millisecond time.
or in tick time with _time_get_elapsed_ticks().
Regards
Daniel
Thanks for your reply. I use _time_get_elapsed_us() and it works now.