diff options
author | Geir Storli <geirst@vespa.ai> | 2024-04-26 17:00:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 17:00:14 +0200 |
commit | 63b2a4f138914dd1b974908305dd0daa9ce4633c (patch) | |
tree | 3fa831123f9581e4be1e818d6a20874e8d261cc6 /searchlib/src/vespa/searchlib/attribute/imported_attribute_vector.h | |
parent | 970e8747037a91dad423f073e08be2612bdeb71a (diff) | |
parent | dd097b175f164d93da7765e827bcdd6fa0a006b6 (diff) |
Merge pull request #31061 from vespa-engine/toregge/expose-imported-attributes-in-metrics
Expose imported attributes in metrics.
Diffstat (limited to 'searchlib/src/vespa/searchlib/attribute/imported_attribute_vector.h')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/imported_attribute_vector.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/imported_attribute_vector.h b/searchlib/src/vespa/searchlib/attribute/imported_attribute_vector.h index bd018df5273..5b68957b7f5 100644 --- a/searchlib/src/vespa/searchlib/attribute/imported_attribute_vector.h +++ b/searchlib/src/vespa/searchlib/attribute/imported_attribute_vector.h @@ -6,6 +6,8 @@ #include <vespa/searchcommon/attribute/i_document_meta_store_context.h> #include <vespa/vespalib/stllike/string.h> +namespace vespalib { class MemoryUsage; } + namespace search::attribute { class BitVectorSearchCache; @@ -62,6 +64,7 @@ public: std::unique_ptr<AttributeReadGuard> makeReadGuard(bool stableEnumGuard) const override; virtual std::unique_ptr<AttributeReadGuard> makeReadGuard(std::shared_ptr<MetaStoreReadGuard> targetMetaStoreReadGuard, bool stableEnumGuard) const; + vespalib::MemoryUsage get_memory_usage() const; protected: vespalib::string _name; |