Documentation ¶
Index ¶
- Variables
- func CPUInfo(oldTotal, oldIdle float64) (float64, float64, float64, error)
- func CloseDataStorage()
- func InitDataStorage(cfg config.Config)
- func MemoryInfo() (float64, error)
- func NodeCPURawDataStorage() storage.StorageInterface
- func NodeCPUSecondsSchedule() *sched.Scheduler
- func NodeMemoryDataStorage() storage.StorageInterface
- func NodeMemorySecondsSchedule() *sched.Scheduler
- func StartCPU(cfg config.Config)
- func StartMemory(cfg config.Config)
- func StorageCPUPoint()
- func StorageMemoryPoint()
- type Item
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OldTotal float64 = 0.0 OldIdle float64 = 0.0 )
Functions ¶
func CloseDataStorage ¶
func CloseDataStorage()
func InitDataStorage ¶
func MemoryInfo ¶
func NodeCPURawDataStorage ¶
func NodeCPURawDataStorage() storage.StorageInterface
func NodeCPUSecondsSchedule ¶
func NodeMemoryDataStorage ¶
func NodeMemoryDataStorage() storage.StorageInterface
func StartMemory ¶
func StorageCPUPoint ¶
func StorageCPUPoint()
func StorageMemoryPoint ¶
func StorageMemoryPoint()
Types ¶
Click to show internal directories.
Click to hide internal directories.