Hi all, I got a question about the timeline properties of Ozone. I want to see the real timeline of a running code like which thread goes on for how much time. I used Renesas EK-RA6M5 board and when I set the trace setting as trace buffer, I only see a little time window of code. I mean it does not shows the real flow. Also, when I set the trace source as trace pins, I saw nothing in timeline windows which I set the related pins for tracing in board.
I only see that kind of outputs which took only 900 microsec yet I want to see is it in real time.
[SOLVED] Timeline window of Ozone
-
-
Hello,
Thank you for your inquiry.
It is expected that in trace buffer mode you will only see a small fraction of code in the timeline as the buffer is usually only ~4 kB in size. Also there are no timestamps in buffer trace available.
With pin tracing you get timestamps and can do the analysis you mentioned to see how long which thread took etc. Just make sure to enable RTOS awareness in Ozone. For more information see the Ozone manual.
Also make sure that you set the correct CPU Frequency in Ozone trace settings under Tools->Trace Settings->CPU Frequency. Otherwise the timline will be inaccurate.Also, when I set the trace source as trace pins, I saw nothing in timeline windows which I set the related pins for tracing in board.
Here is an example project for the mentioned eval board:
https://wiki.segger.com/Renesas_RA6M5#…Renesas_R7FA6M5Does pin tracing work if you use this example project?
If yes, simply reuse the pex file from the example in your own custom setup. The pex file will handle all trace related settings that are necessary for pin tracing to work on this chip.I only see that kind of outputs which took only 900 microsec yet I want to see is it in real time.
The timeline is only generated when the target is halted as the incoming data stream is simply to fast to be displayed in real time.
If you require live performance analysis tools that can measure code execution time we recommend to use software tracing e.g. with SystemView:
https://www.segger.com/products/devel…ols/systemview/
Here less data is transferred so you can display the timeline live.Best regards,
Nino -
I am very grateful for your response and one more thing, when I go look at the OS plugins, there is nothing for Azure RTOS. What do we need to add the OS awareness for Azure RTOS.
-
Hi GokhanAkkaya,
Ozone does not come with a plug-in for Azure RTOS. However, you may create your own RTOS plug-in. Details on how that can be done can be found in the Ozone User's manual.
Does that answer your question?
Best regards
-- AlexD -
I'll be try to use it as the way you say. Thanks a lot.
-
You're very welcome.
Happy debugging!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!