cpu

package
v1.247347.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 4 Imported by: 0

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 Cpu

type Cpu struct {
}

func (*Cpu) ApplyRule

func (c *Cpu) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type PerCpu

type PerCpu struct {
}

func (*PerCpu) ApplyRule

func (t *PerCpu) 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{})

type TotalCpu

type TotalCpu struct {
}

func (*TotalCpu) ApplyRule

func (t *TotalCpu) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL