shirou_gopsutil/cpu_freebsd.go

15 lines
177 B
Go
Raw Normal View History

2014-04-18 15:34:47 +08:00
// +build freebsd
2014-04-22 08:44:22 +08:00
package gopsutil
2014-04-18 15:34:47 +08:00
import (
"fmt"
)
2014-04-18 20:26:24 +08:00
func (c CPU) Cpu_times() ([]CPU_Times, error) {
ret := make([]CPU_Times, 0)
2014-04-18 15:34:47 +08:00
fmt.Println("FreeBSD")
2014-04-18 20:26:24 +08:00
return ret, nil
2014-04-18 15:34:47 +08:00
}