• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# HiDebug_ThreadCpuUsage
2
3<!--Kit: Performance Analysis Kit-->
4<!--Subsystem: HiviewDFX-->
5<!--Owner: @hello_harmony; @yu_haoqiaida-->
6<!--SE: @kutcherzhou1-->
7<!--TSE: @gcw_KuLfPSbe-->
8
9## Overview
10
11Defines the struct for the CPU usage of all threads of an application.
12
13**Since**: 12
14
15**Related module**: [HiDebug](capi-hidebug.md)
16
17**Header file**: [hidebug_type.h](capi-hidebug-type-h.md)
18
19## Summary
20
21### Member Variables
22
23| Name                                     | Description|
24|-----------------------------------------| -- |
25| uint32_t threadId                       | Thread ID.|
26| double cpuUsage                         | Thread CPU usage, in percentage.|
27| struct [HiDebug_ThreadCpuUsage](capi-hidebug-hidebug-threadcpuusage.md) *next | Pointer to the CPU usage of the next thread.|
28