Documentation ¶
Index ¶
- type BlkioCalculator
- type CPUCalculator
- type CalculatorFactory
- func (_m *CalculatorFactory) NewBlkioCalculator(old calculator.BlkioData, new calculator.BlkioData) calculator.BlkioCalculator
- func (_m *CalculatorFactory) NewCPUCalculator(old calculator.CPUData, new calculator.CPUData) calculator.CPUCalculator
- func (_m *CalculatorFactory) NewNetworkCalculator(old calculator.NetworkData, new calculator.NetworkData) calculator.NetworkCalculator
- type NetworkCalculator
- func (_m *NetworkCalculator) GetRxBytesPerSecond() float64
- func (_m *NetworkCalculator) GetRxDroppedPerSecond() float64
- func (_m *NetworkCalculator) GetRxErrorsPerSecond() float64
- func (_m *NetworkCalculator) GetRxPacketsPerSecond() float64
- func (_m *NetworkCalculator) GetTxBytesPerSecond() float64
- func (_m *NetworkCalculator) GetTxDroppedPerSecond() float64
- func (_m *NetworkCalculator) GetTxErrorsPerSecond() float64
- func (_m *NetworkCalculator) GetTxPacketsPerSecond() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlkioCalculator ¶
func (*BlkioCalculator) GetReadPs ¶
func (_m *BlkioCalculator) GetReadPs() float64
func (*BlkioCalculator) GetTotalPs ¶
func (_m *BlkioCalculator) GetTotalPs() float64
func (*BlkioCalculator) GetWritePs ¶
func (_m *BlkioCalculator) GetWritePs() float64
type CPUCalculator ¶
func (*CPUCalculator) PerCpuUsage ¶
func (_m *CPUCalculator) PerCpuUsage() common.MapStr
func (*CPUCalculator) TotalUsage ¶
func (_m *CPUCalculator) TotalUsage() float64
func (*CPUCalculator) UsageInKernelmode ¶
func (_m *CPUCalculator) UsageInKernelmode() float64
func (*CPUCalculator) UsageInUsermode ¶
func (_m *CPUCalculator) UsageInUsermode() float64
type CalculatorFactory ¶
func (*CalculatorFactory) NewBlkioCalculator ¶
func (_m *CalculatorFactory) NewBlkioCalculator(old calculator.BlkioData, new calculator.BlkioData) calculator.BlkioCalculator
func (*CalculatorFactory) NewCPUCalculator ¶
func (_m *CalculatorFactory) NewCPUCalculator(old calculator.CPUData, new calculator.CPUData) calculator.CPUCalculator
func (*CalculatorFactory) NewNetworkCalculator ¶
func (_m *CalculatorFactory) NewNetworkCalculator(old calculator.NetworkData, new calculator.NetworkData) calculator.NetworkCalculator
type NetworkCalculator ¶
func (*NetworkCalculator) GetRxBytesPerSecond ¶
func (_m *NetworkCalculator) GetRxBytesPerSecond() float64
func (*NetworkCalculator) GetRxDroppedPerSecond ¶
func (_m *NetworkCalculator) GetRxDroppedPerSecond() float64
func (*NetworkCalculator) GetRxErrorsPerSecond ¶
func (_m *NetworkCalculator) GetRxErrorsPerSecond() float64
func (*NetworkCalculator) GetRxPacketsPerSecond ¶
func (_m *NetworkCalculator) GetRxPacketsPerSecond() float64
func (*NetworkCalculator) GetTxBytesPerSecond ¶
func (_m *NetworkCalculator) GetTxBytesPerSecond() float64
func (*NetworkCalculator) GetTxDroppedPerSecond ¶
func (_m *NetworkCalculator) GetTxDroppedPerSecond() float64
func (*NetworkCalculator) GetTxErrorsPerSecond ¶
func (_m *NetworkCalculator) GetTxErrorsPerSecond() float64
func (*NetworkCalculator) GetTxPacketsPerSecond ¶
func (_m *NetworkCalculator) GetTxPacketsPerSecond() float64
Click to show internal directories.
Click to hide internal directories.