summaryrefslogtreecommitdiff
path: root/daemon/stats/collector_windows.go
blob: 018e9065f1f49c3bab6db136695025aa6a6536bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package stats // import "github.com/docker/docker/daemon/stats"

// platformNewStatsCollector performs platform specific initialisation of the
// Collector structure. This is a no-op on Windows.
func platformNewStatsCollector(s *Collector) {
}

// getSystemCPUUsage returns the host system's cpu usage in
// nanoseconds. An error is returned if the format of the underlying
// file does not match. This is a no-op on Windows.
func (s *Collector) getSystemCPUUsage() (uint64, error) {
	return 0, nil
}

func (s *Collector) getNumberOnlineCPUs() (uint32, error) {
	return 0, nil
}