shirou_gopsutil/cpu
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
2015-10-18 20:40:01 -07:00
..
cpu.go cpu: use wmic to get CPU usage on Windows. 2015-03-11 23:00:06 +09:00
cpu_darwin.go cpu[darwin]: separetes cpu_darwin to cgo and nocgo to get CPUTimes. 2015-10-10 22:13:38 +09:00
cpu_darwin_cgo.go cpu[darwin]: separetes cpu_darwin to cgo and nocgo to get CPUTimes. 2015-10-10 22:13:38 +09:00
cpu_darwin_nocgo.go cpu[darwin]: separetes cpu_darwin to cgo and nocgo to get CPUTimes. 2015-10-10 22:13:38 +09:00
cpu_freebsd.go cpu: fix command output trim problem. 2015-07-17 21:52:43 +09:00
cpu_linux.go common: rename package common to internal/common. Add ENV helper funcs. 2015-10-18 20:40:01 -07:00
cpu_test.go cpu: use wmic to get CPU usage on Windows. 2015-03-11 23:00:06 +09:00
cpu_unix.go cpu: fix build option on unix. 2015-03-11 23:06:00 +09:00
cpu_windows.go Fix cpu percent on windows 2015-09-04 18:48:20 -06:00