Searched refs:_now (Results 1 – 2 of 2) sorted by relevance
27 initialNow := _now28 _now = func() time.Time { return startTime.Add(dur) }29 defer func() { _now = initialNow }()
26 var _now = now var52 t.activeEvents = append(t.activeEvents, timeEvent{name: name, desc: desc, start: _now()})61 realTime := uint64(_now().Sub(lastEvent.start).Nanoseconds())