Ekhi
Ekhi

Reputation: 497

Android: run process or thread in a specific core

Is there any way of creating a process or thread in a specific core in Android?

edited for more info: the idea is that having two cores, I would like to run 2 different processes or threads in 2 different cores. Specifically, what I want to do is use 100% of the CPU of the phone, no matter how many cores the phone has.

Upvotes: 4

Views: 1678

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006724

Is there any way of creating a process or thread in a specific core in Android?

No, sorry.

the idea is that having two cores, I would like to run 2 different processes or threads in 2 different cores.

That is for the OS to decide, not you.

Specifically, what I want to do is use 100% of the CPU of the phone, no matter how many cores the phone has.

No developer should have that as an objective, outside of benchmarking applications and the like.

Upvotes: 1

Related Questions