diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2008-02-17 18:35:27 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2008-02-17 18:35:27 +0000 |
commit | 9eec03faa59345b7b16236805cb17d2f0cd82709 (patch) | |
tree | 5ffb77f23ed108b69ec0ca9b9852f404483568b9 /apps/debug_menu.c | |
parent | 8140705e99f04c044aec139d845e3c3fd311bede (diff) |
FS#8565 - fix for runtime data causing extra spin ups. Included a debug menu update also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16330 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index b3df043609..61b564820e 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1913,7 +1913,9 @@ static int database_callback(int btn, struct gui_synclist *lists) simplelist_addline(SIMPLELIST_ADD_LINE, "Commit delayed: %s", stat->commit_delayed ? "Yes" : "No"); - + simplelist_addline(SIMPLELIST_ADD_LINE, "Queue length: %d", + stat->queue_length); + if (synced) { synced = false; @@ -1937,7 +1939,11 @@ static bool dbg_tagcache_info(void) simplelist_info_init(&info, "Database Info", 8, NULL); info.action_callback = database_callback; info.hide_selection = true; - info.timeout = TIMEOUT_NOBLOCK; + + /* Don't do nonblock here, must give enough processing time + for tagcache thread. */ + /* info.timeout = TIMEOUT_NOBLOCK; */ + info.timeout = 1; tagcache_screensync_enable(true); return simplelist_show_list(&info); } |