# | Line 105 | Line 105 | cpu_states_t *get_cpu_totals(){ | |
---|---|---|
105 | cpu_now.total=cpu_now.user+cpu_now.nice+cpu_now.kernel+cpu_now.idle; | |
106 | #endif | |
107 | #ifdef FREEBSD | |
108 | + | size = sizeof cp_time; |
109 | if (sysctlbyname("kern.cp_time", &cp_time, &size, NULL, 0) < 0){ | |
110 | return NULL; | |
111 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |