rounded returns nanos rounded to the nearest microsecond.
()
| 130 | |
| 131 | // rounded returns nanos rounded to the nearest microsecond. |
| 132 | func (d Duration) rounded() int64 { |
| 133 | return rounded(d.nanos) |
| 134 | } |
| 135 | |
| 136 | // rounded returns nanos rounded to the nearest microsecond. |
| 137 | func rounded(nanos int64) int64 { |