1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-29 11:43:07 +00:00
rke/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go
Sebastiaan van Steenis 1b24d67a21 vendor update
2020-08-14 18:43:49 +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))
}