diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-12-19 15:42:04 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-12-19 15:42:04 +0000 |
| commit | 287454de2e076eafcd393dec6cf0e2674ca25586 (patch) | |
| tree | ab66ced6589ae8188dbcd110fc5572797b12155f /firmware/SOURCES | |
| parent | f53c04b766f470eb58c919b7d38f8bfec654c797 (diff) | |
| download | rockbox-287454de2e076eafcd393dec6cf0e2674ca25586.zip rockbox-287454de2e076eafcd393dec6cf0e2674ca25586.tar.gz rockbox-287454de2e076eafcd393dec6cf0e2674ca25586.tar.bz2 rockbox-287454de2e076eafcd393dec6cf0e2674ca25586.tar.xz | |
Hosted/linux: Add process/cpu info screen to the debug menu.
The new menu is very helpful on RaaA, but also shown in the sim. It shows
the process cpu usage, process' time stats (user,sys,real) and the cpu
frequency stats.
It uses a thread to sample the data, however the thread is not created
until the menu is visited for the first time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31364 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/SOURCES')
| -rw-r--r-- | firmware/SOURCES | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index b4e9c5c..7053358 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -7,6 +7,12 @@ general.c load_code.c powermgmt.c #if (CONFIG_PLATFORM & PLATFORM_HOSTED) + +#ifdef __linux__ +#undef linux +target/hosted/cpuinfo-linux.c +#endif + target/hosted/powermgmt.c target/hosted/rtc.c #endif |