Sat, 4 August 2018 Implementing CPU usage MultiCore - Conky-for-macOS/conky-for-macOS GitHub Wiki
Hi there!
So, I have been battling these days to implement multicore cpu stats (Getting % Core Usage).
The first step required, was patching the already existing code (update_cpu_usage
and get_cpu_sample
) for knowing what cores are (converting the cpusample
struct variable to an array of N+1 structs, where N: number of cores). (This got done fairly easily in )
The next problem is actually managing the data. An yes, there needs to be a manager. More on this coming soon...
Nope, it doesn't! Implemented!