MCPcopy
hub / github.com/jaypipes/ghw / NodeCPUCacheIndex

Method NodeCPUCacheIndex

pkg/linuxpath/path_linux.go:119–124  ·  view source on GitHub ↗
(nodeID int, lpID int, cacheIndex int)

Source from the content-addressed store, hash-verified

117}
118
119func (p *Paths) NodeCPUCacheIndex(nodeID int, lpID int, cacheIndex int) string {
120 return filepath.Join(
121 p.NodeCPUCache(nodeID, lpID),
122 fmt.Sprintf("index%d", cacheIndex),
123 )
124}

Callers 5

memoryCacheLevelFunction · 0.80
memoryCacheIDFunction · 0.80
memoryCacheSizeFunction · 0.80
memoryCacheTypeFunction · 0.80
memoryCacheSharedCPUMapFunction · 0.80

Calls 1

NodeCPUCacheMethod · 0.95

Tested by

no test coverage detected