MCPcopy
hub / github.com/uber/aresdb / now

Method now

subscriber/common/tools/batcher_test.go:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (w *worker) now() time.Time {
32 w.mutex.Lock()
33 defer w.mutex.Unlock()
34 return w.time
35}
36
37func (w *worker) advanceClock(duration time.Duration) {
38 w.mutex.Lock()

Callers 3

batcher_test.goFile · 0.80
runMethod · 0.80
initDatePickModalFunction · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected