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

Method Path

cgroup1/cpuacct.go:48–50  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

46}
47
48func (c *cpuacctController) Path(path string) string {
49 return filepath.Join(c.root, path)
50}
51
52func (c *cpuacctController) Stat(path string, stats *v1.Metrics) error {
53 user, kernel, err := c.getUsage(path)

Callers 3

StatMethod · 0.95
percpuUsageMethod · 0.95
getUsageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected