Beispiel #1
0
func Initialize() {
	if CPU_EACH {
		fmt.Println("PRINT EACH CPU")
	}

	cpustats = make(map[string]VmCpuSchedStat)
	models.RegisterCollector(CpuCollector{})
}
Beispiel #2
0
func Initialize() {
	vms = make(map[string]VirtualMachineExtended)
	models.RegisterCollector(StaticCollector{})
}