mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 12:37:25 +01:00
Add comment
This commit is contained in:
parent
a871753bdf
commit
35c20110ca
@ -269,6 +269,7 @@ func GetTypeList(topology_type string) []int {
|
|||||||
return []int{}
|
return []int{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CpuData returns CPU data for each hardware thread
|
||||||
func CpuData() []HwthreadEntry {
|
func CpuData() []HwthreadEntry {
|
||||||
return slices.Clone(cache.CpuData)
|
return slices.Clone(cache.CpuData)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user