summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahoo-inc.com>2016-12-15 13:26:26 +0100
committerGeir Storli <geirst@yahoo-inc.com>2016-12-15 13:26:26 +0100
commitb564f79643996dcb60a8a143ac0094a3a54ac0df (patch)
treed3c24083d8aa32d80fb8c1eec1f31e253182eb6e
parent2d6a7229b8187a6586043e02ba7ccd10ff0a48d9 (diff)
Align naming of memory usage with explorer for document store.
-rw-r--r--searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp
index 768523c7f64..6cc94abdd10 100644
--- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp
+++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_vector_explorer.cpp
@@ -34,11 +34,11 @@ convertStatusToSlime(const Status &status, Cursor &object)
object.setLong("bitVectors", status.getBitVectors());
{
Cursor &memory = object.setObject("memoryUsage");
- memory.setLong("allocated", status.getAllocated());
- memory.setLong("used", status.getUsed());
- memory.setLong("dead", status.getDead());
- memory.setLong("onHold", status.getOnHold());
- memory.setLong("onHoldMax", status.getOnHoldMax());
+ memory.setLong("allocatedBytes", status.getAllocated());
+ memory.setLong("usedBytes", status.getUsed());
+ memory.setLong("deadBytes", status.getDead());
+ memory.setLong("onHoldBytes", status.getOnHold());
+ memory.setLong("onHoldBytesMax", status.getOnHoldMax());
}
}