How to compile to enable timing debug
- FDR
- Topic Author
- Offline
Less
More
06 Dec 2012 19:35 #3712
by FDR
How to compile to enable timing debug was created by FDR
...and where it will put the results to?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
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.
#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.
Please Log in or Create an account to join the conversation.
- FDR
- Topic Author
- Offline
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?
What if you would collect the statistics in memory, and showed on some diagnostic page, like the USB?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
Less
More
- Posts: 4402
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.
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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.038 seconds
- Home
- Forum
- Development
- Development
- How to compile to enable timing debug