Changkun Ou 402ea9e4f9 time: add Ticker.Reset
This CL implements Ticker.Reset method in time package.

Benchmark:
name                 time/op
TickerReset-12       6.41µs ±10%
TickerResetNaive-12  95.7µs ±12%

Fixes #33184

Change-Id: I4cbd31796efa012b2a297bb342158f11a4a31fef
Reviewed-on: https://go-review.googlesource.com/c/go/+/220424
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-02-24 01:50:28 +00:00
..
2018-07-18 04:00:10 +00:00
2020-02-23 01:23:41 +00:00
2018-01-09 21:47:03 +00:00
2018-06-13 13:45:01 +00:00
2018-06-13 13:45:01 +00:00
2019-08-26 17:33:52 +00:00
2019-08-26 17:33:52 +00:00
2019-08-26 17:33:52 +00:00
2019-08-26 17:33:52 +00:00
2019-08-26 17:33:52 +00:00
2020-02-24 01:50:28 +00:00
2018-01-09 21:47:03 +00:00
2018-12-21 21:46:38 +00:00
2020-01-15 05:32:51 +00:00
2010-09-16 14:01:02 +10:00