summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-04-11 23:36:28 +0200
committerHenning Baldersheim <balder@oath.com>2018-04-11 23:36:28 +0200
commit940e2088bddb08e7d0e93d11d4f0ccfee81b4212 (patch)
tree90a7a2069f712fdedab9d015c8db4529c9ab3df1 /storage
parent6eb097a87f9e5e5d54d5dc6b44682657195b6497 (diff)
Add and use getTotal
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
index a9030007c50..e87eabd19df 100644
--- a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
+++ b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
@@ -296,7 +296,7 @@ FileStorHandlerImpl::updateMetrics(const MetricLockGuard &)
metrics::LoadType loadType(entry.first, "ignored");
for (const auto & stripe : disk.metrics->stripes) {
const auto & m = stripe->averageQueueWaitingTime[loadType];
- entry.second->addAvgValueWithCount(m.getAverage(), m.getCount());
+ entry.second->addTotalValueWithCount(m.getTotal(), m.getCount());
}
}
}