Documentation ¶
Index ¶
Constants ¶
View Source
const ObjectName = "Processor(*)"
View Source
const SectionKey_CPU = "cpu"
Variables ¶
View Source
var CPU_ChildRule = map[string]translator.Rule{}
View Source
var CpuWindowsMetrics []interface{}
Functions ¶
func GetCurPath ¶
func GetCurPath() string
func RegisterRule ¶
func RegisterRule(fieldname string, r translator.Rule)
Types ¶
type CollectCpuTime ¶
type CollectCpuTime struct { }
func (*CollectCpuTime) ApplyRule ¶
func (c *CollectCpuTime) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
type ReportActive ¶
type ReportActive struct { }
func (*ReportActive) ApplyRule ¶
func (r *ReportActive) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
Click to show internal directories.
Click to hide internal directories.