summaryrefslogtreecommitdiff
path: root/apps/plugin.c
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.c
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.c')
-rw-r--r--apps/plugin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 250b4cc545..e11fd5cffe 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -250,9 +250,14 @@ static const struct plugin_api rockbox_api = {
250#ifndef SIMULATOR 250#ifndef SIMULATOR
251 system_memory_guard, 251 system_memory_guard,
252 &cpu_frequency, 252 &cpu_frequency,
253
253#ifdef HAVE_ADJUSTABLE_CPU_FREQ 254#ifdef HAVE_ADJUSTABLE_CPU_FREQ
255#ifdef CPU_BOOST_LOGGING
256 cpu_boost_,
257#else
254 cpu_boost, 258 cpu_boost,
255#endif 259#endif
260#endif
256 timer_register, 261 timer_register,
257 timer_unregister, 262 timer_unregister,
258 timer_set_period, 263 timer_set_period,