From 287454de2e076eafcd393dec6cf0e2674ca25586 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 19 Dec 2011 15:42:04 +0000 Subject: 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 --- firmware/SOURCES | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/SOURCES') 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 -- cgit v1.1