The Performance window tracks the performance data for your application. It can automatically capture data snapshots for the selected application periodically. You can select Performance tag to open the Memory window.
For more information, you can click the following link to reach directly:
Note: Please make sure your OpenHarmony device have already connected to Tuanjie Editor correctly. For more information, you can check Getting started with the OpenHarmony Hilog package
To open the Performance window:
|Area|Description| |—|—| | 1 | Performance toolbar: Contains options and tools for the Performance window. | | 2 | Performance details panel: Contains the list of performance data which can be choosen to capture. | | 3 | Performance chart: Displays performance data in the dimension of time axis. | | 4 | Performance statistics: Contains data at a certain moment and average values over a period of time. |
The toolbar contains options for selecting a package and functions for starting or pausing statistics.
Functions | Description |
---|---|
Device Selector | Specifies the OpenHarmony device to connect the Performance window to. |
Package Selector | Specifies the application on the OpenHarmony device to display data for. |
Start/Pause | Starts or pauses fetching performance data. When you click again after pausing and start collecting statistics, the data will be displayed from the current moment, and the data on the paused timeline will be empty. |
Restart | Reconnects the Performance window to the application and the device. If the application is no longer running, this reconnects to the device with no application selected. |
Clear | Clears the data. |
The details panel contains the list of performance data which can be choosen to capture.
The available performance data is divided into three parts: system data, package data, and other data.
Click the corresponding directory to view the detailed optional content. After clicking a detailed entry, the line graph of the performance data will be drawn in the performance chart window on the right.
Functions | Description |
---|---|
System | System’s data which can be choosen, includes GPU usage and GPU frequency. |
Package | Package’s data which can be choosen, includes ProcCpuLoad(CPU load percentage of a process), ProcCpuUsage(CPU usage of a process), ProcUCpuUsage(user state CPU usage of a process), ProcSCpuUsage(kernel state CPU usage of a process), Memory and CPU Detail Info. |
Others | Package’s data which can be choosen, includes FPS, GPU Thermal, SOC Thermal, Battery Consumption, Battery Voltage, Network’s uplink and downlink rates. |
The performance chart displays performance data in the dimension of time axis.
Note: If you have choosen the Memory in the details panel, you can select and switch to view different types of memory statistics in the chart of memory.
This performance window will automatically count and calculate the average of each data when you click start button in the toolbar. The average value will be shown in each data chart.
When the mouse stays on the timeline, a floating window will pop up and display detailed data at the current moment.
To use the Performance tool to capture data for your application manually: