dd9309c15e
Initial vendor list validated with empty $GOPATH and only master checked out; followed by `make` and verified that all binaries build properly. Updates require github.com/LK4D4/vndr tool. Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
12 lines
154 B
Go
12 lines
154 B
Go
// +build cgo,linux cgo,freebsd
|
|
|
|
package system
|
|
|
|
/*
|
|
#include <unistd.h>
|
|
*/
|
|
import "C"
|
|
|
|
func GetClockTicks() int {
|
|
return int(C.sysconf(C._SC_CLK_TCK))
|
|
}
|