oci: join crio-conmon for cgroupfs

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-08-29 19:09:59 +02:00
parent dd2b4a8907
commit c199f63dba
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
31 changed files with 3013 additions and 5 deletions

10
vendor/github.com/containerd/cgroups/ticks.go generated vendored Normal file
View file

@ -0,0 +1,10 @@
package cgroups
func getClockTicks() uint64 {
// The value comes from `C.sysconf(C._SC_CLK_TCK)`, and
// on Linux it's a constant which is safe to be hard coded,
// so we can avoid using cgo here.
// See https://github.com/containerd/cgroups/pull/12 for
// more details.
return 100
}