forked from len0rd/rockbox
Android: Replace the java based tick timer implemented with a not as bloated and more accurate linux hrtimer based one. Further reduces idle cpu usage (0% on my phone but still 1-2% on a Samsung Galaxy S).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28784 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
44cdce9b29
commit
c47d813451
4 changed files with 66 additions and 130 deletions
|
@ -23,6 +23,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include <jni.h>
|
||||
#include <system.h>
|
||||
/*---------------------------------------------------------------------------
|
||||
* Start the thread running and terminate it if it returns
|
||||
*---------------------------------------------------------------------------
|
||||
|
@ -89,7 +90,6 @@ static inline void load_context(const void* addr)
|
|||
* wait_for_interrupt is implemented in kernel-android.c
|
||||
**/
|
||||
|
||||
extern void wait_for_interrupt(void);
|
||||
static inline void core_sleep(void)
|
||||
{
|
||||
wait_for_interrupt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue