• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# HiDebug_ThreadCpuUsage
2
3
4## Overview
5
6Defines a struct for the CPU usage of all threads of an application.
7
8**Since**: 12
9
10**Related module**: [HiDebug](_hi_debug.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| uint32_t [threadId](#threadid) | Thread ID. |
21| double [cpuUsage](#cpuusage) | Thread CPU usage, in percentage. |
22| struct HiDebug_ThreadCpuUsage \* [next](#next) | Pointer to the CPU usage of the next thread. |
23
24
25## Member Variable Description
26
27
28### cpuUsage
29
30```
31double HiDebug_ThreadCpuUsage::cpuUsage
32```
33**Description**
34Thread CPU usage, in percentage.
35
36
37### next
38
39```
40struct HiDebug_ThreadCpuUsage* HiDebug_ThreadCpuUsage::next
41```
42**Description**
43Pointer to the CPU usage of the next thread.
44
45
46### threadId
47
48```
49uint32_t HiDebug_ThreadCpuUsage::threadId
50```
51**Description**
52Thread ID.
53