Documentation ¶
Index ¶
- Variables
- func NewCPULazy(done chan struct{}, conf rescommon.ResourceConfiger, dur time.Duration) (rescommon.ResourceViewer, error)
- func NewCPUSimple() (rescommon.ResourceViewer, error)
- func NewMemLazy(done chan struct{}, conf rescommon.ResourceConfiger, dur time.Duration) (rescommon.ResourceViewer, error)
- func NewMemSimple() (rescommon.ResourceViewer, error)
- type CPUCG2Lazy
- type CPUCG2Simple
- type MemCG2Lazy
- type MemCG2Simple
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewCPULazy ¶
func NewCPULazy( done chan struct{}, conf rescommon.ResourceConfiger, dur time.Duration, ) (rescommon.ResourceViewer, error)
func NewCPUSimple ¶
func NewCPUSimple() (rescommon.ResourceViewer, error)
func NewMemLazy ¶
func NewMemLazy( done chan struct{}, conf rescommon.ResourceConfiger, dur time.Duration, ) (rescommon.ResourceViewer, error)
func NewMemSimple ¶
func NewMemSimple() (rescommon.ResourceViewer, error)
Types ¶
type CPUCG2Lazy ¶
type CPUCG2Lazy struct {
// contains filtered or unexported fields
}
func (*CPUCG2Lazy) Used ¶
func (cg *CPUCG2Lazy) Used() float64
type CPUCG2Simple ¶
type CPUCG2Simple struct{}
func (*CPUCG2Simple) Used ¶
func (cg *CPUCG2Simple) Used() float64
type MemCG2Lazy ¶
type MemCG2Lazy struct {
// contains filtered or unexported fields
}
func (*MemCG2Lazy) Used ¶
func (cg *MemCG2Lazy) Used() float64
type MemCG2Simple ¶
type MemCG2Simple struct{}
func (*MemCG2Simple) Used ¶
func (cg *MemCG2Simple) Used() float64
Click to show internal directories.
Click to hide internal directories.