tpCpuCore类
ExternUtils
2025-07-05
基础信息
头文件: | include <tpCpu.h> |
---|---|
Cmake: | None |
发布版本: | V0.1.0 |
继承类: | |
派生类: |
Public 成员函数
tpCpuCore(uint16_t core) | ||
---|---|---|
tpCpuCore() | ||
tpCpuCore(uint16_t core, uint64_t used, uint64_t idle, uint64_t iowait) | ||
~tpCpuCore() | ||
tpString | getName() | 获取CPU单核心名字 |
getCoreNum() | 获取cpu单核心的编号 | |
getFrequency() | 获取cpu单个核心主频 | |
getUsage() | 获取cpu单个核心使用率 |
成员函数说明
tpCpuCore::tpCpuCore(uint16_t core)
暂无注释...
tpCpuCore::tpCpuCore()
暂无注释...
tpCpuCore::tpCpuCore(uint16_t core, uint64_t used, uint64_t idle, uint64_t iowait)
暂无注释...
tpCpuCore::~tpCpuCore()
暂无注释...
tpString tpCpuCore::getName()
点击查看...
获取CPU单核心名字
返回值:
返回CPU单核心名字
int tpCpuCore::getCoreNum()
点击查看...
获取cpu单核心的编号
返回值:
返回cpu单核心的编号
double tpCpuCore::getFrequency()
点击查看...
获取cpu单个核心主频
返回值:
返回cpu单个核心主频
double tpCpuCore::getUsage()
点击查看...
获取cpu单个核心使用率
返回值:
返回cpu单个核心主频