MCPcopy 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
976func (x *SystemStatsResponse) GetCpuCores() uint64 {
977 if x != nil {
978 return x.CpuCores
979 }
980 return 0
981}
982
983func (x *SystemStatsResponse) GetCpuUsage() float64 {
984 if x != nil {

Callers 2

SystemStatsMethod · 0.80
TestGRPC_GetSystemStatsFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestGRPC_GetSystemStatsFunction · 0.64