2018-02-05 16:05:59 -05:00
|
|
|
package stats // import "github.com/docker/docker/daemon/stats"
|
2015-05-28 15:21:32 -04:00
|
|
|
|
2016-09-07 19:08:51 -04:00
|
|
|
// 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.
|
2017-01-04 12:01:59 -05:00
|
|
|
func (s *Collector) getSystemCPUUsage() (uint64, error) {
|
2016-09-07 19:08:51 -04:00
|
|
|
return 0, nil
|
2015-05-28 15:21:32 -04:00
|
|
|
}
|
2017-03-06 12:29:09 -05:00
|
|
|
|
|
|
|
func (s *Collector) getNumberOnlineCPUs() (uint32, error) {
|
|
|
|
return 0, nil
|
|
|
|
}
|