diff options
Diffstat (limited to 'pkg/sysinfo/numcpu.go')
-rw-r--r-- | pkg/sysinfo/numcpu.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/sysinfo/numcpu.go b/pkg/sysinfo/numcpu.go deleted file mode 100644 index aeb1a3a80..000000000 --- a/pkg/sysinfo/numcpu.go +++ /dev/null @@ -1,12 +0,0 @@ -// +build !linux,!windows - -package sysinfo - -import ( - "runtime" -) - -// NumCPU returns the number of CPUs -func NumCPU() int { - return runtime.NumCPU() -} |