MCPcopy Create free account
hub / github.com/chainreactors/spray / Stats

Method Stats

core/runner.go:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (r *Runner) Stats() RunnerStats {
80 r.statsMu.Lock()
81 defer r.statsMu.Unlock()
82 return r.stats
83}
84
85func (r *Runner) recordStat(stat *pkg.Statistor) {
86 if stat == nil {

Callers 2

TestRecordStat_NilStatFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestRecordStat_NilStatFunction · 0.76