Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CPUCalculator ¶
type CPUCalculator interface {
// contains filtered or unexported methods
}
type MetricSet ¶
type MetricSet struct { mb.BaseMetricSet // contains filtered or unexported fields }
type MockCPUCalculator ¶
func (*MockCPUCalculator) PerCpuUsage ¶
func (_m *MockCPUCalculator) PerCpuUsage(stats *dc.Stats) common.MapStr
func (*MockCPUCalculator) TotalUsage ¶
func (_m *MockCPUCalculator) TotalUsage(stats *dc.Stats) float64
func (*MockCPUCalculator) UsageInKernelmode ¶
func (_m *MockCPUCalculator) UsageInKernelmode(stats *dc.Stats) float64
func (*MockCPUCalculator) UsageInUsermode ¶
func (_m *MockCPUCalculator) UsageInUsermode(stats *dc.Stats) float64
Click to show internal directories.
Click to hide internal directories.