forked from len0rd/rockbox
More comments to the dircache functions and a debug menu entry to
determine how long the disk scanning took. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8072 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8f280a30f3
commit
29e04eff05
2 changed files with 87 additions and 9 deletions
|
|
@ -1702,6 +1702,10 @@ static bool dbg_dircache_info(void)
|
|||
dircache_get_reserve_used(), DIRCACHE_RESERVE);
|
||||
lcd_puts(0, line++, buf);
|
||||
|
||||
snprintf(buf, sizeof(buf), "Scanning took: %d s",
|
||||
dircache_get_build_ticks() / HZ);
|
||||
lcd_puts(0, line++, buf);
|
||||
|
||||
lcd_update();
|
||||
|
||||
switch (button_get_w_tmo(HZ/2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue