• 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**Header file**: [hidebug_type.h](hidebug__type_8h.md)
13
14## Summary
15
16
17### Member Variables
18
19| Name| Description|
20| -------- | -------- |
21| uint32_t [threadId](#threadid) | Thread ID. |
22| double [cpuUsage](#cpuusage) | Thread CPU usage, in percentage. |
23| struct HiDebug_ThreadCpuUsage \* [next](#next) | Pointer to the CPU usage of the next thread. |
24
25
26## Member Variable Description
27
28
29### cpuUsage
30
31```
32double HiDebug_ThreadCpuUsage::cpuUsage
33```
34**Description**
35Thread CPU usage, in percentage.
36
37
38### next
39
40```
41struct HiDebug_ThreadCpuUsage* HiDebug_ThreadCpuUsage::next
42```
43**Description**
44Pointer to the CPU usage of the next thread.
45
46
47### threadId
48
49```
50uint32_t HiDebug_ThreadCpuUsage::threadId
51```
52**Description**
53Thread ID.
54