forked from len0rd/rockbox
Removed the cpu boost tracking debug feature for now because of
different kind of problems. Better implementation can be done later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11665 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5f15f8f021
commit
c5d57f0aae
9 changed files with 33 additions and 99 deletions
|
@ -60,32 +60,6 @@ void set_cpu_frequency(long frequency);
|
|||
void cpu_boost(bool on_off);
|
||||
void cpu_idle_mode(bool on_off);
|
||||
int get_cpu_boost_counter(void);
|
||||
|
||||
#if MEM > 1
|
||||
#define CPU_BOOST_TRACKING
|
||||
#endif
|
||||
|
||||
#ifdef CPU_BOOST_TRACKING
|
||||
void cpu_boost_id(bool on_off, char id);
|
||||
const char *get_cpu_boost_tracker(void);
|
||||
/* CPU boost ID chars, in alphabetical order */
|
||||
#define CPUBOOSTID_PLAYBACK_AUDIO 'A'
|
||||
#define CPUBOOSTID_TAGTREE 'a'
|
||||
#define CPUBOOSTID_BACKLIGHT 'b'
|
||||
#define CPUBOOSTID_PLAYBACK_CODEC 'c'
|
||||
#define CPUBOOSTID_DIRCACHE 'd'
|
||||
#define CPUBOOSTID_MAININIT 'i'
|
||||
#define CPUBOOSTID_DEBUGMENU_MANUAL 'm'
|
||||
#define CPUBOOSTID_PLAYLIST 'P'
|
||||
#define CPUBOOSTID_PCMBUF 'p'
|
||||
#define CPUBOOSTID_PCMRECORD 'R'
|
||||
#define CPUBOOSTID_TREE 'r'
|
||||
#define CPUBOOSTID_TALK 'T'
|
||||
#define CPUBOOSTID_TAGCACHE 't'
|
||||
#define CPUBOOSTID_PLAYBACK_VOICE 'v'
|
||||
#else
|
||||
#define cpu_boost_id(on_off,id) cpu_boost(on_off)
|
||||
#endif
|
||||
#else
|
||||
#define FREQ CPU_FREQ
|
||||
#define set_cpu_frequency(frequency)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue