Android CPU core selection

Moderators: odroid, mdrjr

Android CPU core selection

Unread postby 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?
kafan1986
 
Posts: 25
Joined: Tue Feb 27, 2018 8:05 am
languages_spoken: english

Re: Android CPU core selection

Unread postby 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
User avatar
rooted
 
Posts: 5900
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english


Return to Android

Who is online

Users browsing this forum: No registered users and 5 guests