mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Pulsar: report latency in ns for Payload RRT
This commit is contained in:
parent
5a44b6d06f
commit
3b184a0c23
@ -279,7 +279,9 @@ public class PulsarConsumerOp implements PulsarOp {
|
||||
}
|
||||
}
|
||||
if (extractedSendTime != null) {
|
||||
long delta = System.currentTimeMillis() - extractedSendTime;
|
||||
// fallout expects latencies in "ns" and not in "ms"
|
||||
long delta = TimeUnit.MILLISECONDS
|
||||
.toNanos(System.currentTimeMillis() - extractedSendTime);
|
||||
payloadRttHistogram.update(delta);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user