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.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index b2d894f0ee..64cc208aae 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -344,7 +344,11 @@ struct plugin_api { int (*system_memory_guard)(int newmode); long *cpu_frequency; #ifdef HAVE_ADJUSTABLE_CPU_FREQ +#ifdef CPU_BOOST_LOGGING + void (*cpu_boost_)(bool on_off,char*location,int line); +#else void (*cpu_boost)(bool on_off); +#endif #endif bool (*timer_register)(int reg_prio, void (*unregister_callback)(void), long cycles, int int_prio, -- cgit v1.2.3