summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_fps.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-11 01:45:11 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-11 01:45:11 +0000
commit464e6a140598743ade31105fe78c22b8480a4761 (patch)
tree3c22a8b80353f44d4fc4a75b20bda1f7d56aab67 /apps/plugins/test_fps.c
parentaeddacbd14ec3acd839dc9bd0bab34883dd6e6c0 (diff)
downloadrockbox-464e6a140598743ade31105fe78c22b8480a4761.tar.gz
rockbox-464e6a140598743ade31105fe78c22b8480a4761.zip
Fuze & e200v2: Put lcd framebuffer into iram, which saves 77k normal ram and gives 2.6%/7.6% (unboosted/boosted) lcd update speed up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20682 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_fps.c')
-rw-r--r--apps/plugins/test_fps.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c
index c688a54de0..f7027ffd8d 100644
--- a/apps/plugins/test_fps.c
+++ b/apps/plugins/test_fps.c
@@ -349,12 +349,19 @@ enum plugin_status plugin_start(const void* parameter)
#endif
backlight_force_on(); /* backlight control in lib/helper.c */
- log_text("Main LCD Update");
+ rb->cpu_boost(false);
+ log_text("Main LCD Update unboosted");
time_main_update();
+ rb->cpu_boost(true);
+ log_text("Main LCD Update boosted");
+ time_main_update();
+ rb->cpu_boost(false);
+/*
#ifdef HAVE_LCD_COLOR
log_text("Main LCD YUV");
time_main_yuv();
#endif
+*/
#if LCD_DEPTH < 4
log_text("Greyscale library");
time_greyscale();