Commit Graph

4 Commits (4746baa8c71363bf5f0456d006136156e53c44be)

Author SHA1 Message Date
Huan Wang 6a572952f0 fix slow cpuinfo on multisocket config
updated win32_Processor struct to exclude loadpercentage field.
The loadpercentage takes linearly more time as the # of sockets
increases. By default vSphere maps 1 vCPU to 1 socket, resulting in very
poor performance when getting CPU info against, saying, 40 vCPU VM
(basically 40 sockets as seen by the VM).
4 years ago
Lomanic 186fbc7fb4 [v3][cpu][windows] Remove exported windows-specific dead code
Users wanting to use this Windows-specific feature can still use github.com/StackExchange/wmi by themselves.
4 years ago
shirou 9e51e095ad [cpu][windows] fix CPU struct name on windows. 4 years ago
shirou 005a35c436 [v3 migartion] add v3 sourcodes, and change disk.opts to []string 4 years ago