MCPcopy Create free account
hub / github.com/dispatchrun/wzprof / stackCounter

Struct stackCounter

wzprof.go:336–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336type stackCounter struct {
337 stack stackTrace
338 value [2]int64 // count, total
339}
340
341func (sc *stackCounter) observe(value int64) {
342 sc.value[0] += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected