diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-05-26 00:26:08 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-12-12 13:20:10 +0100 |
commit | 17277fa1bfb21acf1b880b15db0e799bc623c276 (patch) | |
tree | d701fd1cfb0c134761efdd3a8b220ecc09275af0 /firmware/target/arm/imx233/debug-imx233.c | |
parent | a523c3fcfe40734f3b15fbf086578fa188fc0ec6 (diff) | |
download | rockbox-17277fa1bfb21acf1b880b15db0e799bc623c276.tar.gz rockbox-17277fa1bfb21acf1b880b15db0e799bc623c276.zip |
imx233: add more icoll statistics
Those new statistics give the maximum time an IRQ took and also the total
time spent in IRQ, for each IRQ. Hopefully those do not take took much time
or space to collect. If this is the case, it can be enabled in debug builds only
the future.
Change-Id: I05af172897c5cb7ffcc9322452f974d8f968e29d
Diffstat (limited to 'firmware/target/arm/imx233/debug-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c index 68865efc8d..e33f2ab1ad 100644 --- a/firmware/target/arm/imx233/debug-imx233.c +++ b/firmware/target/arm/imx233/debug-imx233.c | |||
@@ -637,7 +637,7 @@ bool dbg_hw_info_icoll(void) | |||
637 | static char prio[4] = {'-', '+', '^', '!'}; | 637 | static char prio[4] = {'-', '+', '^', '!'}; |
638 | lcd_putsf(0, j, "%c%s", prio[info.priority & 3], dbg_irqs[i].name); | 638 | lcd_putsf(0, j, "%c%s", prio[info.priority & 3], dbg_irqs[i].name); |
639 | if(info.enabled || info.freq > 0) | 639 | if(info.enabled || info.freq > 0) |
640 | lcd_putsf(11, j, "%d", info.freq); | 640 | lcd_putsf(11, j, "%d %d %d", info.freq, info.max_time, info.total_time); |
641 | } | 641 | } |
642 | lcd_update(); | 642 | lcd_update(); |
643 | yield(); | 643 | yield(); |