Android CPU core selection

Post Reply
kafan1986
Posts: 33
Joined: Tue Feb 27, 2018 8:05 am
languages_spoken: english
Contact:

Android CPU core selection

Unread post by kafan1986 » Wed Sep 26, 2018 11:01 pm

I am writing an android application, where for certain tasks, I want the corresponding code to execute on the Big cores. Is there a way to do that or am I missing something?

User avatar
rooted
Posts: 6346
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

Re: Android CPU core selection

Unread post by rooted » Fri Sep 28, 2018 9:44 am

This is all you can do on Android, you can spawn threads but not core-specific.

https://developer.android.com/training/ ... e-threads/

On Linux it's easy:

Code: Select all

 taskset -c 4-7 some_application 

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 18 guests