Home
last modified time | relevance | path

Searched refs:_now (Results 1 – 3 of 3) sorted by relevance

/build/soong/ui/metrics/
Devent_test.go25 initialNow := _now
26 _now = func() time.Time { return startTime.Add(dur) }
27 defer func() { _now = initialNow }()
45 initialNow := _now
46 _now = func() time.Time { return startTime.Add(dur) }
47 defer func() { _now = initialNow }()
Devent.go39 var _now = func() time.Time { var
68 start: _now(),
73 realTime := uint64(_now().Sub(e.start).Nanoseconds())
/build/blueprint/metrics/
Devent_handler.go35 var _now = time.Now var
63 h.scopeStartTimes = append(h.scopeStartTimes, _now())
86 end: _now(),