oci: join crio-conmon for cgroupfs
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
dd2b4a8907
commit
c199f63dba
31 changed files with 3013 additions and 5 deletions
10
vendor/github.com/containerd/cgroups/ticks.go
generated
vendored
Normal file
10
vendor/github.com/containerd/cgroups/ticks.go
generated
vendored
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue