k3s/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go
Darren Shepherd fa08d6076c Update vendor
2019-01-11 21:58:27 -07:00

13 lines
142 B
Go

// +build cgo,linux
package system
/*
#include <unistd.h>
*/
import "C"
func GetClockTicks() int {
return int(C.sysconf(C._SC_CLK_TCK))
}