kubernetes/vendor/bitbucket.org/bertimus9/systemstat/systemstat_ex.go
Christoph Blecker a26c120501
Bump dependencies for build tag fixes
bump github.com/vmware/govmomi/vim25 to HEAD
bump bitbucket.org/bertimus9/systemstat to HEAD
2018-02-21 12:50:32 -08:00

42 lines
756 B
Go

// Copyright (c) 2013 Phillip Bond
// Licensed under the MIT License
// see file LICENSE
// +build !linux
package systemstat
import (
"time"
)
func getUptime(procfile string) (uptime UptimeSample) {
notImplemented("getUptime")
uptime.Time = time.Now()
return
}
func getLoadAvgSample(procfile string) (samp LoadAvgSample) {
notImplemented("getLoadAvgSample")
samp.Time = time.Now()
return
}
func getMemSample(procfile string) (samp MemSample) {
notImplemented("getMemSample")
samp.Time = time.Now()
return
}
func getProcCPUSample() (s ProcCPUSample) {
notImplemented("getProcCPUSample")
s.Time = time.Now()
return
}
func getCPUSample(procfile string) (samp CPUSample) {
notImplemented("getCPUSample")
samp.Time = time.Now()
return
}