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/codecs.h | |
parent | a3a303e440d751fbbb8c2532640098bfc969b75f (diff) | |
download | rockbox-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/codecs.h')
-rw-r--r-- | apps/codecs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index dff219c058..cef14c3971 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -209,9 +209,13 @@ struct codec_api { | |||
209 | int (*system_memory_guard)(int newmode); | 209 | int (*system_memory_guard)(int newmode); |
210 | long *cpu_frequency; | 210 | long *cpu_frequency; |
211 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 211 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
212 | #ifdef CPU_BOOST_LOGGING | ||
213 | void (*cpu_boost_)(bool on_off,char*location,int line); | ||
214 | #else | ||
212 | void (*cpu_boost)(bool on_off); | 215 | void (*cpu_boost)(bool on_off); |
213 | #endif | 216 | #endif |
214 | #endif | 217 | #endif |
218 | #endif | ||
215 | 219 | ||
216 | /* strings and memory */ | 220 | /* strings and memory */ |
217 | int (*snprintf)(char *buf, size_t size, const char *fmt, ...); | 221 | int (*snprintf)(char *buf, size_t size, const char *fmt, ...); |