Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to reduce the context switch time

MediaRecorder.start() takes much time. Method Profiling says that 'context switch' - Inclusive Real Time is 100% and takes about 1510 ms. Is it possible to reduce it somehow? I need it to be as fast as possible.

enter image description here

like image 955
Yuliya Tarasenko Avatar asked Oct 21 '22 05:10

Yuliya Tarasenko


1 Answers

Context switching is the system's operation of changing focus to a different running process. The processor saves the state of the current running one and loads the state of another. Speeding up a context switch is not something you can do through Android API's.

like image 144
Paul Pantea Avatar answered Nov 15 '22 05:11

Paul Pantea