b7daa2f3a4
Update traefik dependencies (docker/docker and related) - Update dependencies - Fix compilation problems - Remove vdemeester/docker-events (in docker api now) - Remove `integration/vendor` - Use `testImport` - update some deps. - regenerate the lock from scratch (after a `glide cc`)
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))
|
|
}
|