diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-08-18 13:17:47 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2021-08-20 11:03:58 +0000 |
commit | 2153b7cc3353992550596141314e5edd3a6c0681 (patch) | |
tree | ef73149677cb4b59d576d935255cba5550b0a281 /searchlib | |
parent | 43402b23dc74fe6550d231b26e8c50327e1971f9 (diff) |
Track max address space usage among components in attributes vectors in all sub databases.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/address_space_usage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/address_space_usage.h b/searchlib/src/vespa/searchlib/attribute/address_space_usage.h index 8698fa6d9ef..9a92bb5d858 100644 --- a/searchlib/src/vespa/searchlib/attribute/address_space_usage.h +++ b/searchlib/src/vespa/searchlib/attribute/address_space_usage.h @@ -24,6 +24,7 @@ public: const vespalib::AddressSpace& multi_value_usage); void set(const vespalib::string& component, const vespalib::AddressSpace& usage); vespalib::AddressSpace get(const vespalib::string& component) const; + const AddressSpaceMap& get_all() const { return _map; } vespalib::AddressSpace enum_store_usage() const; vespalib::AddressSpace multi_value_usage() const; }; |