Hi. I want to get some advises.
I am using K64F with KDS ver 3.0.0 and making using of GDB OpenOCD debugging
I want to know that it is possible to measure runtimes of code prosecution
because i need a real time to execute some codes.
Thank you.
Solved! Go to Solution.
Hi,
CodeWarrior comes with a built-in trace viewer and support for hardware trace while something like this is not present in KDS.
I recommend you check if gcov can help. see Erich's article:
Code Coverage with gcov, launchpad tools and Eclipse Kinetis Design Studio V3.0.0 | MCU on Eclipse
can this help you?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
CodeWarrior comes with a built-in trace viewer and support for hardware trace while something like this is not present in KDS.
I recommend you check if gcov can help. see Erich's article:
Code Coverage with gcov, launchpad tools and Eclipse Kinetis Design Studio V3.0.0 | MCU on Eclipse
can this help you?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
For runtime (time spent) you can have a look at using gprof:
Tutorial: Using GNU Profiling (gprof) with ARM Cortex-M | MCU on Eclipse
Erich
thank you very much
you are welcome!
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------