MCPcopy
hub / github.com/netdata/netdata / MarkRunStop

Method MarkRunStop

src/go/plugin/framework/tickstate/tracker.go:59–63  ·  view source on GitHub ↗

MarkRunStop records run completion time.

(now time.Time)

Source from the content-addressed store, hash-verified

57
58// MarkRunStop records run completion time.
59func (t *SkipTracker) MarkRunStop(now time.Time) {
60 t.mu.Lock()
61 t.runStopped = now
62 t.mu.Unlock()
63}

Callers 4

TestSkipTrackerScenariosFunction · 0.95
StartMethod · 0.80
StartMethod · 0.80
StartMethod · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 1

TestSkipTrackerScenariosFunction · 0.76