• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# HiDebug_ThreadCpuUsage
2
3
4## 概述
5
6应用程序所有线程的CPU使用率结构体定义。
7
8**起始版本:** 12
9
10**相关模块:** [HiDebug](_hi_debug.md)
11
12**所在头文件:** [hidebug_type.h](hidebug__type_8h.md)
13
14## 汇总
15
16
17### 成员变量
18
19| 名称 | 描述 |
20| -------- | -------- |
21| uint32_t [threadId](#threadid) | 线程ID。  |
22| double [cpuUsage](#cpuusage) | 线程CPU使用率百分比。  |
23| struct HiDebug_ThreadCpuUsage \* [next](#next) | 下一个线程的使用率信息。  |
24
25
26## 结构体成员变量说明
27
28
29### cpuUsage
30
31```
32double HiDebug_ThreadCpuUsage::cpuUsage
33```
34**描述**
35线程CPU使用率百分比。
36
37
38### next
39
40```
41struct HiDebug_ThreadCpuUsage* HiDebug_ThreadCpuUsage::next
42```
43**描述**
44下一个线程的使用率信息。
45
46
47### threadId
48
49```
50uint32_t HiDebug_ThreadCpuUsage::threadId
51```
52**描述**
53线程ID。
54