Commit Graph

214 Commits

Author SHA1 Message Date
Shirou WAKAYAMA 170390c0df cpu: fix build option on unix. 2015-03-11 23:06:00 +09:00
WAKAYAMA Shirou ead8393137 cpu: use wmic to get CPU usage on Windows. 2015-03-11 23:00:06 +09:00
WAKAYAMA Shirou ec2b509dda cpu: skip percpu percent test if windows. Windows can only get one CPU info currently. 2015-03-07 21:52:43 +09:00
WAKAYAMA Shirou 4694ce0e4d cpu: use wmic to get CPUInfo on Windows 2015-02-15 21:25:33 +09:00
WAKAYAMA shirou b8dc51929a forget to change float32 to float64 2015-02-15 20:48:29 +09:00
Shirou WAKAYAMA 753ea1bb48 fix when converting CPUTimes to JSON, sometimes idel have exponent 2015-02-13 23:11:27 +09:00
Shirou WAKAYAMA 4b5bf22b88 change CPUTimes type from float32 to float64 to resolve precision issue. 2015-02-13 22:45:12 +09:00
Shirou WAKAYAMA 18ab22b6fc cpu: should be divided by CPU_TICK 2015-02-13 14:55:42 +09:00
codeskyblue 3b43a3f496 change cpu_linux.go: on some android, runtime.NumCPU() will not return right number of cpu cores 2015-01-13 18:32:25 +08:00
Shirou WAKAYAMA 13cd195a7e change package name. 2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA 16de570414 merge 039b9defab 2014-12-27 23:42:00 +09:00
WAKAYAMA Shirou 9f2c985a28 fix windows build. 2014-11-27 22:28:05 +09:00
WAKAYAMA shirou d11680c773 fix bugs on FreeBSD. 2014-11-27 10:25:14 +09:00
Shirou WAKAYAMA a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00