mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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
This commit is contained in:
parent
a523c3fcfe
commit
17277fa1bf
3 changed files with 21 additions and 4 deletions
|
|
@ -637,7 +637,7 @@ bool dbg_hw_info_icoll(void)
|
|||
static char prio[4] = {'-', '+', '^', '!'};
|
||||
lcd_putsf(0, j, "%c%s", prio[info.priority & 3], dbg_irqs[i].name);
|
||||
if(info.enabled || info.freq > 0)
|
||||
lcd_putsf(11, j, "%d", info.freq);
|
||||
lcd_putsf(11, j, "%d %d %d", info.freq, info.max_time, info.total_time);
|
||||
}
|
||||
lcd_update();
|
||||
yield();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue