openharmony 鸿蒙 capi-hidebug-hidebug-processsamplerconfig

2026-08-25 浏览 (1)

HiDebug_ProcessSamplerConfig

typedef struct HiDebug_ProcessSamplerConfig {...} HiDebug_ProcessSamplerConfig

Overview

Defines a struct for sampling configuration.

Since: 22

Related module: HiDebug

Header file: hidebug_type.h

Summary

Member Variables

NameDescription
uint32_t* tidsArray of thread IDs to sample. A maximum of 10 threads can be sampled at the same time. If the array length exceeds 10, the first 10 threads are sampled.
uint32_t sizeLength of the array to which tids points.
uint32_t frequencySampling frequency, in Hz. The value ranges from 1 to 200. If the value is out of the range, the default value 100 is used.
uint32_t durationSampling duration, in ms. The value ranges from 1000 to 10000. If the value is less than 1000, the API call is abnormal. If the value is greater than 10000, 10000 is used.
uint32_t reservedReserved.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apis-hiviewdfx-FaultLogExtensionAbility

openharmony 鸿蒙 capi-log-h

openharmony 鸿蒙 errorcode-hisysevent-sys

openharmony 鸿蒙 capi-hitrace-hitraceid

openharmony 鸿蒙 capi-hidebug-hidebug-threadcpuusage

openharmony 鸿蒙 js-apis-loglibrary-sys

openharmony 鸿蒙 capi-hiappevent-h

openharmony 鸿蒙 capi-hidebug-hidebug-jsstackframe

openharmony 鸿蒙 capi-hitrace

openharmony 鸿蒙 capi-hiappevent-param-h

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/jZxBqpaJ