MCPcopy Create free account
hub / github.com/facebook/time / SetCounter

Method SetCounter

fbclock/stats/stats.go:30–30  ·  view source on GitHub ↗
(key string, val int64)

Source from the content-addressed store, hash-verified

28 // Reset atomically sets all the counters to 0
29 Reset()
30 SetCounter(key string, val int64)
31 UpdateCounterBy(key string, count int64)
32}
33

Callers 7

ProcessMonitoringResultsFunction · 0.65
NewFunction · 0.65
calcWMethod · 0.65
calculateSHMDataMethod · 0.65
doWorkMethod · 0.65
RunMethod · 0.65
TestHandleRequestFunction · 0.65

Implementers 1

Statsfbclock/stats/stats.go

Calls

no outgoing calls

Tested by 1

TestHandleRequestFunction · 0.52