跳至内容

IADLXSystemMetrics

导航: ADLX SDK 参考ADLX 接口性能监控

IADLXSystemMetrics 接口提供系统指标样本的信息,例如时间戳和 CPU 使用率。

InterfaceIdIADLXSystemMetrics
智能指针接口名称IADLXSystemMetricsPtr
继承自IADLXInterface
被继承IADLXSystemMetrics1

方法

方法描述
CPUUsage获取系统指标样本的 CPU 使用率。
SmartShift获取系统指标样本的 SmartShift 值。
SystemRAM获取系统指标样本的系统 RAM。
TimeStamp获取系统指标样本的时间戳。

要求

头文件include “IPerformanceMonitoring.h”
最低版本1.0

示例

有关如何在 C++ 应用程序中使用此接口,请参阅 PerfSystemMetrics C++ 示例

对于 C 应用程序,请参阅 PerfSystemMetrics C 示例

子页面

  • CPUUsage - 获取系统指标样本的 CPU 使用率。
  • SmartShift - 获取系统指标样本的 SmartShift 值。
  • SystemRAM - 获取系统指标样本的系统 RAM。
  • TimeStamp - 获取系统指标样本的时间戳。

API 参考

本页面引用了

© . This site is unofficial and not affiliated with AMD.