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

Function rdmaStats

cgroup2/utils.go:378–384  ·  view source on GitHub ↗
(filepath string)

Source from the content-addressed store, hash-verified

376}
377
378func rdmaStats(filepath string) []*stats.RdmaEntry {
379 currentData, err := os.ReadFile(filepath)
380 if err != nil {
381 return []*stats.RdmaEntry{}
382 }
383 return toRdmaEntry(strings.Split(string(currentData), "\n"))
384}
385
386func parseRdmaKV(raw string, entry *stats.RdmaEntry) {
387 var value uint64

Callers 1

StatFilteredMethod · 0.85

Calls 1

toRdmaEntryFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…