diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-01-22 10:41:25 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-01-22 10:41:25 +0000 |
| commit | f8c68c7912da50451167fe4bcfd69717f2a30c98 (patch) | |
| tree | b0d03c2488adabfda26823d9bcd3eeaa422b3ce2 /apps/plugin.c | |
| parent | a3a303e440d751fbbb8c2532640098bfc969b75f (diff) | |
| download | rockbox-f8c68c7912da50451167fe4bcfd69717f2a30c98.zip rockbox-f8c68c7912da50451167fe4bcfd69717f2a30c98.tar.gz rockbox-f8c68c7912da50451167fe4bcfd69717f2a30c98.tar.bz2 rockbox-f8c68c7912da50451167fe4bcfd69717f2a30c98.tar.xz | |
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, |