github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/daemon/stats/collector_windows.go (about) 1 package stats // import "github.com/docker/docker/daemon/stats" 2 3 // getSystemCPUUsage returns the host system's cpu usage in 4 // nanoseconds. An error is returned if the format of the underlying 5 // file does not match. This is a no-op on Windows. 6 func (s *Collector) getSystemCPUUsage() (uint64, error) { 7 return 0, nil 8 } 9 10 func (s *Collector) getNumberOnlineCPUs() (uint32, error) { 11 return 0, nil 12 }