cpu_usage_t Struct Reference

cpu_usage_t Struct Reference

#include < thermal.h >

Data Fields

const char *  name
 
uint64_t  active
 
uint64_t  total
 
bool  is_online
 

Detailed Description

Definition at line 110 of file thermal.h .

Field Documentation

uint64_t active

Active time since the last boot in ms.

Definition at line 120 of file thermal.h .

bool is_online

Is set to true when a core is online. If the core is offline, all other members except |name| should be ignored.

Definition at line 131 of file thermal.h .

const char* name

Name of this CPU. All CPUs must have a different "name".

Definition at line 115 of file thermal.h .

uint64_t total

Total time since the last boot in ms.

Definition at line 125 of file thermal.h .


The documentation for this struct was generated from the following file: