Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PasarGuard/node
/ GetCpuCores
Method
GetCpuCores
common/service.pb.go:976–981 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
974
}
975
976
func
(x *SystemStatsResponse) GetCpuCores() uint64 {
977
if
x != nil {
978
return
x.CpuCores
979
}
980
return
0
981
}
982
983
func
(x *SystemStatsResponse) GetCpuUsage() float64 {
984
if
x != nil {
Callers
2
SystemStats
Method · 0.80
TestGRPC_GetSystemStats
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestGRPC_GetSystemStats
Function · 0.64