# OHOS::SysInfo ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Obtains the system information. Currently, the FPS information can be obtained. To enable the FPS feature, enable the **ENABLE\_FPS\_SUPPORT** macro. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Data Structures

Data Structure Name

Description

OnFPSChangedListener

Called when the FPS changes.

## Public Types

Public Type Name

Description

FPSCalculateType { FPS_CT_FIXED_TIME, FPS_CT_AVERAGE_SAMPLING, FPS_CT_PRECISE_SAMPLING }

Enumerates the FPS capture types.

## Static Public Member Functions

Static Public Member Function Name

Description

GetFPS ()

static float 

Obtains the FPS data.

RegisterFPSChangedListener (OnFPSChangedListener *onFPSChangedListener)

static void 

Registers the listener for notifying the FPS changes.