1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-01 13:48:52 +08:00
Omar Polo 932f2f6049
Fix cpu stats when hw.smt is enabled
When hw.smt is enabled, and it's enabled by default from 6.4, the
number of cpus given by `runtime.NumCPU()` is half of the total: only
the cpuN with N = 0,2,4,... are used by the system. We need to detect
that and ask for the correct stats.
2019-03-16 12:26:03 +01:00
..
2018-11-19 22:06:05 -08:00
2018-11-19 22:06:05 -08:00
2018-11-19 22:06:05 -08:00
2018-11-19 22:06:05 -08:00
2018-11-19 22:06:05 -08:00
2018-11-19 22:06:05 -08:00
2019-02-22 11:19:56 +03:00
2018-11-19 22:06:05 -08:00