orbiter/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go
Lorenzo Fontana 3b7a061574
Sync dependencies with ensure
Remove old lock file

Signed-off-by: Lorenzo Fontana <lo@linux.com>
2017-08-21 00:14:21 +02: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))
}