Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ ResourceUtilizationStats
Method
ResourceUtilizationStats
base/stats.go:343–345 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
341
}
342
343
func
(g *GlobalStat) ResourceUtilizationStats() *ResourceUtilization {
344
return
g.ResourceUtilization
345
}
346
347
func
(s *SgwStats) initReplicationStats() error {
348
s.ReplicatorStats = &ReplicatorStats{
Callers
15
checkStaleHeartbeats
Method · 0.80
sendHeartbeat
Method · 0.80
loadNodeIDs
Method · 0.80
logTo
Function · 0.80
BenchmarkNewStatAdd
Function · 0.80
BenchmarkNewStatSet
Function · 0.80
BenchmarkNewStatGet
Function · 0.80
BenchmarkNewStatAddParallel
Function · 0.80
TestSetIfMax
Function · 0.80
GetMetadataDocument
Method · 0.80
TestAuditLoggerGlobalFields
Function · 0.80
TestAuditFieldsMerge
Function · 0.80
Calls
no outgoing calls
Tested by
15
BenchmarkNewStatAdd
Function · 0.64
BenchmarkNewStatSet
Function · 0.64
BenchmarkNewStatGet
Function · 0.64
BenchmarkNewStatAddParallel
Function · 0.64
TestSetIfMax
Function · 0.64
TestAuditLoggerGlobalFields
Function · 0.64
TestAuditFieldsMerge
Function · 0.64
TestBucketPoolMain
Function · 0.64
TestUptimeStat
Function · 0.64
TestShouldCheckAdminRBAC
Function · 0.64
TestSyncFnDocBodyPropertiesSwitchActiveTombstone
Function · 0.64
TestSyncFunctionErrorLogging
Function · 0.64