github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/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  }