McChubby007 wrote: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.
WOW!
Amazing!
I realize that I am very stupid!
lol
I need to study hard enough to learn how to use this tool.
I'll wait for the next chapters and keep a close eye on everything.
I'm very interested in such a tool!
It is useful for anyone who develops.
At the end, when you're done, give some examples and if you can, an explanatory video or something.
It will help those who have never used a similar tool.
I think it can help a lot of people, but it needs to be easy to use / understand. For the most general public. I believe that is your goal.