summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-01-22 10:41:25 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-01-22 10:41:25 +0000
commitf8c68c7912da50451167fe4bcfd69717f2a30c98 (patch)
treeb0d03c2488adabfda26823d9bcd3eeaa422b3ce2 /apps/plugin.h
parenta3a303e440d751fbbb8c2532640098bfc969b75f (diff)
downloadrockbox-f8c68c7912da50451167fe4bcfd69717f2a30c98.tar.gz
rockbox-f8c68c7912da50451167fe4bcfd69717f2a30c98.zip
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index b2d894f0ee..64cc208aae 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -344,8 +344,12 @@ struct plugin_api {
344 int (*system_memory_guard)(int newmode); 344 int (*system_memory_guard)(int newmode);
345 long *cpu_frequency; 345 long *cpu_frequency;
346#ifdef HAVE_ADJUSTABLE_CPU_FREQ 346#ifdef HAVE_ADJUSTABLE_CPU_FREQ
347#ifdef CPU_BOOST_LOGGING
348 void (*cpu_boost_)(bool on_off,char*location,int line);
349#else
347 void (*cpu_boost)(bool on_off); 350 void (*cpu_boost)(bool on_off);
348#endif 351#endif
352#endif
349 bool (*timer_register)(int reg_prio, void (*unregister_callback)(void), 353 bool (*timer_register)(int reg_prio, void (*unregister_callback)(void),
350 long cycles, int int_prio, 354 long cycles, int int_prio,
351 void (*timer_callback)(void)); 355 void (*timer_callback)(void));