Searched refs:_now (Results 1 – 3 of 3) sorted by relevance
25 initialNow := _now26 _now = func() time.Time { return startTime.Add(dur) }27 defer func() { _now = initialNow }()45 initialNow := _now46 _now = func() time.Time { return startTime.Add(dur) }47 defer func() { _now = initialNow }()
39 var _now = func() time.Time { var68 start: _now(),73 realTime := uint64(_now().Sub(e.start).Nanoseconds())
35 var _now = time.Now var63 h.scopeStartTimes = append(h.scopeStartTimes, _now())86 end: _now(),