400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

Overview of TKUtils.h

    TKUtils is a utility class provided by the SDK, mainly offering interfaces to obtain parameters related to hardware devices.

    TKUtils

    Method name Method description
    getCPUCores Get the number of CPU cores
    getCPUType Get the CPU type
    getCPUUsage Get the CPU usage
    getTotalMemory Get the total physical memory
    getResidentMemory Get the memory usage of the current app