FPLBase
An open source project by
FPL.
|
HighPerformanceParams are used on Android to configure simulated key presses, in order to stop the CPU governor (see https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt) from reducing the CPU frequency when a user is not providing tactile input. More...
#include <utilities.h>
HighPerformanceParams are used on Android to configure simulated key presses, in order to stop the CPU governor (see https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt) from reducing the CPU frequency when a user is not providing tactile input.
For example, if a user is providing data to the device via a gyroscope, it is possible for the CPU governor to reduce the CPU (and potentially the GPU) frequency, reducing application performance.
Public Member Functions | |
HighPerformanceParams (int keycode, int presses) | |
Public Attributes | |
int | android_key_code |
The key to press repeatedly, to keep the CPU active. | |
double | time_between_presses |