Hi,
Is there any way to check the core clocks(running time) of a function in S32DS?
Regards,
Binge.
Solved! Go to Solution.
Hi,
There is a thread that talks about a different platform but provides some ideas of the execution time:
Solved: How can I measure the execution time of a function... - NXP Community
Another idea is what it was already provided, which is using a timer to measure the entry and exit of the function, it just needs to be set so that it stops when the debugging session is halted by a breakpoint.
Another possibility is provided under the thread, which is measuring by executed instructions under the function.
There is also an explanation provided under the following AN:
Measuring Interrupt Latency (nxp.com)
Which could be of use.
Please, let us know.
Please refer to
1. use gpio (set high before code execution , set low after code execution) and hard oscilloscope
2. timer tick count (system time tick or other)
please consider the impact of an interruption
Hi,
Can you help us elaborate more on your request? We understand that are trying to measure the execution time of a function, but we are not completely sure about it.
Please, let us know.
Hi,
Yes,I am trying to measure the execution time of a function or a code segment.Please tell me how to do that?
Regards,
Binge.
Hi,
There is a thread that talks about a different platform but provides some ideas of the execution time:
Solved: How can I measure the execution time of a function... - NXP Community
Another idea is what it was already provided, which is using a timer to measure the entry and exit of the function, it just needs to be set so that it stops when the debugging session is halted by a breakpoint.
Another possibility is provided under the thread, which is measuring by executed instructions under the function.
There is also an explanation provided under the following AN:
Measuring Interrupt Latency (nxp.com)
Which could be of use.
Please, let us know.