diff options
Diffstat (limited to 'cpp/src/tests/Statistics.cpp')
| -rw-r--r-- | cpp/src/tests/Statistics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/Statistics.cpp b/cpp/src/tests/Statistics.cpp index 09286e3298..3c5a3a6d4e 100644 --- a/cpp/src/tests/Statistics.cpp +++ b/cpp/src/tests/Statistics.cpp @@ -57,7 +57,7 @@ void ThroughputAndLatency::message(const messaging::Message& m) { types::Variant::Map::const_iterator i = m.getProperties().find("ts"); if (i != m.getProperties().end()) { int64_t start(i->second.asInt64()); - int64_t end(sys::Duration(sys::AbsTime::epoch(),sys::now())); + int64_t end(sys::Duration(sys::EPOCH, sys::now())); double latency = double(end - start)/sys::TIME_MSEC; if (latency > 0) { total += latency; |
