From ef98d50973968ab792715c3f41a5cb9325508a79 Mon Sep 17 00:00:00 2001 From: Adriano Garcia Date: Mon, 8 Aug 2022 19:06:37 -0300 Subject: [PATCH] Update metrics.rst --- docs/source/metrics.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/metrics.rst b/docs/source/metrics.rst index 5bd0712..d1bbecf 100644 --- a/docs/source/metrics.rst +++ b/docs/source/metrics.rst @@ -72,13 +72,13 @@ SPBench also allows some metrics to be collected at runtime, such as throughput These metrics are available in two modes. The first one returns the global average results from the beginning of the execution to the current moment. The second mode is the instantenous one, where the metrics are computed over a short period (time window). -To get the instantaneous throughput: ``spb::SPBench::getInstantThroughput()`` +To get the instantaneous throughput: ``spb::Metrics::getInstantThroughput()`` -To get the average throughput: ``spb::SPBench::getAverageThroughput()`` +To get the average throughput: ``spb::Metrics::getAverageThroughput()`` -To get the instantaneous latency: ``spb::SPBench::getInstantLatency()`` +To get the instantaneous latency: ``spb::Metrics::getInstantLatency()`` -To get the average latency: ``spb::SPBench::getAverageLatency()`` +To get the average latency: ``spb::Metrics::getAverageLatency()`` These metrics are also used by the performance monitoring. There, the time window used for the instantaneous metrics is the same value used for the monitoring time interval. -- GitLab