FPLBase
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
fplbase::HighPerformanceParams Struct Reference

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>

Detailed Description

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
 

The documentation for this struct was generated from the following file: