rounded returns nanos rounded to the nearest microsecond.
()
| 155 | |
| 156 | // rounded returns nanos rounded to the nearest microsecond. |
| 157 | func (d Duration) rounded() int64 { |
| 158 | return rounded(d.nanos) |
| 159 | } |
| 160 | |
| 161 | // rounded returns nanos rounded to the nearest microsecond. |
| 162 | func rounded(nanos int64) int64 { |