Closed
Description
#4883 changed the TimeProvider.currentTimeNanos()
's precision to milliseconds, because there isn't a way to get the current time in nanoseconds precision. After #5056 is fixed, Channelz/ChannelTracer will be the only users of TimeProvider
, and they all convert the time to proto Timestamp
which doesn't mandate the unit. It will only be misleading to keep TimeProvider.currentTimeNanos()
as is. It should be changed to currentTimeMillis()
.