Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dispatchrun/wzprof
/ observe
Method
observe
wzprof.go:341–344 ·
view source on GitHub ↗
(value int64)
Source
from the content-addressed store, hash-verified
339
}
340
341
func
(sc *stackCounter) observe(value int64) {
342
sc.value[0] += 1
343
sc.value[1] += value
344
}
345
346
func
(sc *stackCounter) count() int64 {
347
return
sc.value[0]
Callers
3
After
Method · 0.45
observeAlloc
Method · 0.45
observe
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected