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

Function BenchmarkGetStatFileContentUint64

cgroup2/utils_test.go:135–141  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

133}
134
135func BenchmarkGetStatFileContentUint64(b *testing.B) {
136 b.ReportAllocs()
137
138 for i := 0; i < b.N; i++ {
139 _ = getStatFileContentUint64("/proc/self/loginuid")
140 }
141}
142
143func TestGetKVStatsFileContentUint64(t *testing.T) {
144 testCases := []struct {

Callers

nothing calls this directly

Calls 1

getStatFileContentUint64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…