- Sat Jan 19, 2019 7:19 pm
#80156
In order to keep the momentum and the interest up, I have just run some tests with a large test suite that I have to show you some example results.
Obviously, data and function trace of your code is tightly coupled to the code you are tracing, but this gives an example of tracing an software timer (isr) with a frequency of 1mSec intermixed with other events, functions and data logging.
There are two types of report :
1. Textual trace and profiler stats. This is the complete time ordered events as they occur, with the profiling stats at the end.
2. Interactive graphic : Using chrome trace tools (Have you used them?) TRAP will build a file that can be imported into Chrome Trace and then this can be interactively filtered/viewed etc, just as any chrome trace style stuff.
I have attached both styles of report, a text file (of textual trace/profiler) and a png (of chrome trace). If you want the raw file to import into chrome trace to interact with let me know.
The chrome trace shows the isr running for a short period, and I have selected some of the function calls which gives profiling time summary at the bottom of the picture.
I'm in the process of sorting the software for your use, as promised.
Oh and... this is running from the esp-core Arduino framework, so you don't need any fancy freeRTOS or anything else to use it, which is the point of it really. It also runs on Arduino Uno/Micro etc and Due.
You do not have the required permissions to view the files attached to this post.