From 464e6a140598743ade31105fe78c22b8480a4761 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 11 Apr 2009 01:45:11 +0000 Subject: 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 --- apps/plugins/test_fps.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apps/plugins/test_fps.c') 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(); -- cgit v1.2.3