Home
last modified time | relevance | path

Searched refs:subtractTimestamp (Results 1 – 7 of 7) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/common/
DTimestampTest.java165 assertThat(timestamp.subtractTimestamp(Timestamp.create(0, 0))) in timestampSubtractTimestamp()
167 assertThat(timestamp.subtractTimestamp(Timestamp.create(1233, 223))) in timestampSubtractTimestamp()
169 assertThat(timestamp.subtractTimestamp(Timestamp.create(1233, 222))) in timestampSubtractTimestamp()
171 assertThat(timestamp.subtractTimestamp(Timestamp.create(1232, 999999900))) in timestampSubtractTimestamp()
173 assertThat(timestamp.subtractTimestamp(Timestamp.create(1200, 224))) in timestampSubtractTimestamp()
180 assertThat(timestamp.subtractTimestamp(Timestamp.create(1235, 223))) in timestampSubtractTimestamp_NegativeResult()
182 assertThat(timestamp.subtractTimestamp(Timestamp.create(1234, 224))) in timestampSubtractTimestamp_NegativeResult()
184 assertThat(timestamp.subtractTimestamp(Timestamp.create(1235, 224))) in timestampSubtractTimestamp_NegativeResult()
186 assertThat(timestamp.subtractTimestamp(Timestamp.create(1236, 123))) in timestampSubtractTimestamp_NegativeResult()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DIntervalBucket.java85 Duration elapsedTime = now.subtractTimestamp(start); in getFraction()
DMutableViewData.java301 long elapsedTimeMillis = now.subtractTimestamp(startOfLastBucket).toMillis(); in refreshBucketList()
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DTimestamp.java141 public Duration subtractTimestamp(Timestamp timestamp) { in subtractTimestamp() method in Timestamp
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/
DInstanaExporterHandler.java110 Duration duration = end.subtractTimestamp(start); in toMillis()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java314 durationToNanos(span.getEndTimestamp().subtractTimestamp(span.getStartTimestamp())) in emitSingleSpan()
360 durationToNanos(event.getTimestamp().subtractTimestamp(lastTimestampNanos))); in emitSingleSpan()
DRpczZPageHandler.java448 return toDoubleSeconds(cumulativeData.getEnd().subtractTimestamp(cumulativeData.getStart())); in getDurationInSecs()