Class PerformanceController
Definition
- Assembly:
- Tizen.System.dll
The PerformanceController class provides the methods to control the system resources.
public static class PerformanceController
- Inheritance
-
objectPerformanceController
Remarks
It supports to control cpu clock within input timeout.
Methods
View SourceRequest(PerformanceControlType, int)
Increase the cpu clock within timeout.
Declaration
public static void Request(PerformanceControlType type, int timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| PerformanceControlType | type | Performance Control Type |
| int | timeout | Cpu clock increasing duration in milliseconds. |
Remarks
The timeout parameter specifies the duration of the CPU boost in milliseconds. If the timeout value exceeds 3000 milliseconds, it will automatically be set to 3000 milliseconds.
Examples
try
{
PerformanceController.Request(PerformanceControlType.AppLaunchHome, 100);
}
Catch(Exception e)
{
}