Searched refs:fromNanos (Results 1 – 8 of 8) sorted by relevance
141 .setLastCallStartedTimestamp(Timestamps.fromNanos(stats.lastCallStartedNanos)) in toServerData()227 Timestamps.fromNanos(s.lastLocalStreamCreatedTimeNanos)) in extractSocketData()229 Timestamps.fromNanos(s.lastRemoteStreamCreatedTimeNanos)) in extractSocketData()231 Timestamps.fromNanos(s.lastMessageSentTimeNanos)) in extractSocketData()233 Timestamps.fromNanos(s.lastMessageReceivedTimeNanos)) in extractSocketData()362 .setLastCallStartedTimestamp(Timestamps.fromNanos(stats.lastCallStartedNanos)); in extractChannelData()376 .setCreationTimestamp(Timestamps.fromNanos(channelTrace.creationTimeNanos)) in toChannelTrace()387 .setTimestamp(Timestamps.fromNanos(event.timestampNanos)); in toChannelTraceEvents()
123 return GrpcLogEntry.newBuilder().setTimestamp(Timestamps.fromNanos(epochNanos)); in newTimestampedBuilder()418 : Durations.fromNanos(deadline.timeRemaining(TimeUnit.NANOSECONDS)); in getClientInterceptor()518 : Durations.fromNanos(deadline.timeRemaining(TimeUnit.NANOSECONDS));
109 .setLastCallStartedTimestamp(Timestamps.fromNanos(4))130 .setLastCallStartedTimestamp(Timestamps.fromNanos(4))149 .setLastCallStartedTimestamp(Timestamps.fromNanos(4))287 .setLastLocalStreamCreatedTimestamp(Timestamps.fromNanos(2))288 .setLastRemoteStreamCreatedTimestamp(Timestamps.fromNanos(3))294 .setLastMessageSentTimestamp(Timestamps.fromNanos(9))295 .setLastMessageReceivedTimestamp(Timestamps.fromNanos(10))321 .setCreationTimestamp(Timestamps.fromNanos(1000))892 .setTimestamp(Timestamps.fromNanos(12)) in channelTrace_withEvents()899 .setTimestamp(Timestamps.fromNanos(34)) in channelTrace_withEvents()
222 return Timestamps.fromNanos(nanoseconds); in createTimestampFromNanos()232 return Durations.fromNanos(nanoseconds); in createDurationFromNanos()
327 public static Duration fromNanos(long nanoseconds) { in fromNanos() method in Durations
347 public static Timestamp fromNanos(long nanoseconds) { in fromNanos() method in Timestamps
105 .setTimestamp(Timestamps.fromNanos(time.currentTimeNanos())) in generateLoadReport()
701 .setTimestamp(Timestamps.fromNanos(fakeClock.getTicker().read())) in assertNextReport()