MCPcopy
hub / github.com/google/cadvisor / GetCacheInfo

Method GetCacheInfo

lib/utils/sysfs/sysfs.go:130–130  ·  view source on GitHub ↗

Get information for a cache accessible from the given cpu.

(cpu int, cache string)

Source from the content-addressed store, hash-verified

128 GetCaches(id int) ([]os.FileInfo, error)
129 // Get information for a cache accessible from the given cpu.
130 GetCacheInfo(cpu int, cache string) (CacheInfo, error)
131
132 GetSystemUUID() (string, error)
133

Callers 1

GetCacheInfoFunction · 0.65

Implementers 2

realSysFslib/utils/sysfs/sysfs.go
FakeSysFslib/utils/sysfs/fakesysfs/fake.go

Calls

no outgoing calls

Tested by

no test coverage detected