harmony 鸿蒙HiDebug_ThreadCpuUsage

  • 2025-06-16
  • 浏览 (1)

HiDebug_ThreadCpuUsage

概述

应用程序所有线程的CPU使用率结构体定义。

起始版本: 12

相关模块:HiDebug

所在头文件: hidebug_type.h

汇总

成员变量

名称 描述
uint32_t threadId 线程ID。
double cpuUsage 线程CPU使用率百分比。
struct HiDebug_ThreadCpuUsage * next 下一个线程的使用率信息。

结构体成员变量说明

cpuUsage

double HiDebug_ThreadCpuUsage::cpuUsage

描述 线程CPU使用率百分比。

next

struct HiDebug_ThreadCpuUsage* HiDebug_ThreadCpuUsage::next

描述 下一个线程的使用率信息。

threadId

uint32_t HiDebug_ThreadCpuUsage::threadId

描述 线程ID。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Performance Analysis Kit(性能分析服务)

harmony 鸿蒙HiAppEvent

harmony 鸿蒙HiAppEvent_AppEventGroup

harmony 鸿蒙HiAppEvent_AppEventInfo

harmony 鸿蒙HiCollie

harmony 鸿蒙HiCollie_DetectionParam

harmony 鸿蒙HiCollie_SetTimerParam

harmony 鸿蒙HiDebug

harmony 鸿蒙HiDebug_JsStackFrame

harmony 鸿蒙HiDebug_MemoryLimit

0  赞