From f8c68c7912da50451167fe4bcfd69717f2a30c98 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 22 Jan 2007 10:41:25 +0000 Subject: Simple cpu boost tracker for LOGF builds. Shows the last 64 cpu_boost() calls from the debug menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12087 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 250b4cc..e11fd5c 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -250,9 +250,14 @@ static const struct plugin_api rockbox_api = { #ifndef SIMULATOR system_memory_guard, &cpu_frequency, + #ifdef HAVE_ADJUSTABLE_CPU_FREQ +#ifdef CPU_BOOST_LOGGING + cpu_boost_, +#else cpu_boost, #endif +#endif timer_register, timer_unregister, timer_set_period, -- cgit v1.1