MCPcopy Create free account
hub / github.com/containerd/cgroups / NewCpu

Function NewCpu

cgroup1/cpu.go:29–33  ·  view source on GitHub ↗
(root string)

Source from the content-addressed store, hash-verified

27)
28
29func NewCpu(root string) *cpuController {
30 return &cpuController{
31 root: filepath.Join(root, string(Cpu)),
32 }
33}
34
35type cpuController struct {
36 root string

Callers 1

defaultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…