Galaxy Performance SDK
Using the appropriate system processing resources effectively is important for optimizing application performance. When the system encounters an increased load, such as during task switching, image processing, or gaming, the system resource management can limit resource utilization without notifying the application. To maintain consistent performance during intensive computation processes, applications can require more processing power or memory, or have its process moved to a higher priority.
Normally, the system automatically predicts and adjusts application resource consumption based on the application's usage history and current state. If the predictions or adjustments are not optimal, application performace can be affected. The Galaxy Performance SDK enables the system and the application to communicate and react to changes in resource availability and demand.
Advantages of SDK
With the Galaxy Performance SDK, you can ensure that the system reserves a minimum amount of resources for your application, or gives the application additional resources when needed. Your application can also be informed when system resources become limited or available.
The Galaxy Performance SDK is supported on most Samsung Galaxy devices running Android 10 (Android Q) or later since March 2020. It is not supported on some devices with lower-end hardware.
The Galaxy Performance SDK provides an interface that enables you to define:
- Minimum and maximum operating frequencies for the CPU, GPU, and RAM
- Preferred core allocation
- Task priority and affinity to the default, performance, or power saving CPU core
- Event listeners to notify the application about system resource limitation
A sample application is provided with the Galaxy Performance SDK documentation to demonstrate its features.