mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-18 16:33:01 +02:00
Add comment
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user