libc icon indicating copy to clipboard operation
libc copied to clipboard

Add host_cpu_load_info on Apple

Open stepancheg opened this issue 1 year ago • 1 comments

Snippet from host_info.h:

struct host_cpu_load_info {             /* number of ticks while running... */
    natural_t       cpu_ticks[CPU_STATE_MAX]; /* ... in the given mode */
};

typedef struct host_cpu_load_info       host_cpu_load_info_data_t;
typedef struct host_cpu_load_info       *host_cpu_load_info_t;

stepancheg avatar Sep 11 '24 02:09 stepancheg