From 29e04eff0504bf21d9d964d518fd95c86d2ec3dc Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sat, 26 Nov 2005 20:47:10 +0000 Subject: 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 --- apps/debug_menu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 14cdd6c..b9af2f8 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -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)) -- cgit v1.1