github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/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 }