github.com/unionj-cloud/go-doudou@v1.3.8-0.20221011095552-0088008e5b31/toolkit/cpu/cpu_aix.go (about) 1 //go:build aix 2 // +build aix 3 4 package cpu 5 6 import ( 7 "context" 8 ) 9 10 func Times(percpu bool) ([]TimesStat, error) { 11 return TimesWithContext(context.Background(), percpu) 12 } 13 14 func Info() ([]InfoStat, error) { 15 return InfoWithContext(context.Background()) 16 }