Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dispatchrun/wzprof
/ observe
Method
observe
wzprof.go:328–330 ·
view source on GitHub ↗
(st stackTrace, val int64)
Source
from the content-addressed store, hash-verified
326
}
327
328
func
(scm stackCounterMap) observe(st stackTrace, val int64) {
329
scm.lookup(st).observe(val)
330
}
331
332
func
(scm stackCounterMap) len() int {
333
return
len(scm)
Callers
nothing calls this directly
Calls
2
lookup
Method · 0.95
observe
Method · 0.45
Tested by
no test coverage detected