×

Notice

The forum is in read only mode.

How to compile to enable timing debug

More
06 Dec 2012 19:35 #3712 by FDR
...and where it will put the results to?
More
07 Dec 2012 03:47 #3726 by PhracturedBlue
Replied by PhracturedBlue on topic How to compile to enable timing debug
you can add:
#define TIMING_DEBUG 1
in common.h

You can then see what it does in the emulator. If you don't have a CP2103, or logic analyzer, this is basically useless on the Tx though, since the printf are all written to the trainer port.
More
07 Dec 2012 06:39 #3737 by FDR
Replied by FDR on topic How to compile to enable timing debug
I was afraid of that...

What if you would collect the statistics in memory, and showed on some diagnostic page, like the USB?
More
07 Dec 2012 13:21 #3750 by PhracturedBlue
Replied by PhracturedBlue on topic How to compile to enable timing debug
The problem is that it would negate most of the value if I did that, since the point is to be able to isolate things, if you need to switch to a specific page, you can't tell which thing you are measuring anymore. I don't want to spend too much time developing this tool.
One possibility is to allow the user to create a log file, and to write to that instead. But I still think it would be of limited value.
Time to create page: 0.040 seconds
Powered by Kunena Forum