robocar-arduino/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go
2019-12-18 23:21:52 +01:00

13 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))
}