You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
537 B
12 lines
537 B
6 years ago
|
// +build windows
|
||
|
|
||
|
package cpu
|
||
|
|
||
|
func systemCPUUsage() (usage uint64, err error) { return 10, nil }
|
||
|
func totalCPUUsage() (usage uint64, err error) { return 10, nil }
|
||
|
func perCPUUsage() (usage []uint64, err error) { return []uint64{10, 10, 10, 10}, nil }
|
||
|
func cpuSets() (sets []uint64, err error) { return []uint64{0, 1, 2, 3}, nil }
|
||
|
func cpuQuota() (quota int64, err error) { return 100, nil }
|
||
|
func cpuPeriod() (peroid uint64, err error) { return 10, nil }
|
||
|
func cpuMaxFreq() (feq uint64) { return 10 }
|