| <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
| <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.8" xml:lang="en-US"> |
| <compounddef id="classiceberg_1_1DefaultMetricsContext" kind="class" language="C++" prot="public"> |
| <compoundname>iceberg::DefaultMetricsContext</compoundname> |
| <basecompoundref refid="classiceberg_1_1MetricsContext" prot="public" virt="non-virtual">iceberg::MetricsContext</basecompoundref> |
| <includes refid="metrics__context_8h" local="no">metrics_context.h</includes> |
| <sectiondef kind="public-func"> |
| <memberdef kind="function" id="classiceberg_1_1DefaultMetricsContext_1afd37231eefdef92754b51e44f41554ea" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
| <type>std::shared_ptr< <ref refid="classiceberg_1_1Counter" kindref="compound">Counter</ref> ></type> |
| <definition>std::shared_ptr< Counter > iceberg::DefaultMetricsContext::GetCounter</definition> |
| <argsstring>(std::string_view name, CounterUnit unit) override</argsstring> |
| <name>GetCounter</name> |
| <qualifiedname>iceberg::DefaultMetricsContext::GetCounter</qualifiedname> |
| <reimplements refid="classiceberg_1_1MetricsContext_1a04db6c1286a00a4237e1bf403e9147f8">GetCounter</reimplements> |
| <param> |
| <type>std::string_view</type> |
| <declname>name</declname> |
| </param> |
| <param> |
| <type><ref refid="namespaceiceberg_1ab43be837ffa520a0d8a9186d90edac43" kindref="member">CounterUnit</ref></type> |
| <declname>unit</declname> |
| </param> |
| <briefdescription> |
| <para>Get or create a named <ref refid="classiceberg_1_1Counter" kindref="compound">Counter</ref> with an explicit unit. </para> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="iceberg/metrics/metrics_context.h" line="75" column="19"/> |
| </memberdef> |
| <memberdef kind="function" id="classiceberg_1_1DefaultMetricsContext_1a9a6f4c762fa46b119f7bc7fb5d0a5cd2" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
| <type>std::shared_ptr< <ref refid="classiceberg_1_1Timer" kindref="compound">Timer</ref> ></type> |
| <definition>std::shared_ptr< Timer > iceberg::DefaultMetricsContext::GetTimer</definition> |
| <argsstring>(std::string_view name, TimerUnit unit) override</argsstring> |
| <name>GetTimer</name> |
| <qualifiedname>iceberg::DefaultMetricsContext::GetTimer</qualifiedname> |
| <reimplements refid="classiceberg_1_1MetricsContext_1a269394fb5a0537eef70b54f8d10781b0">GetTimer</reimplements> |
| <param> |
| <type>std::string_view</type> |
| <declname>name</declname> |
| </param> |
| <param> |
| <type><ref refid="namespaceiceberg_1a392862e5026f65af0f58105ede04659a" kindref="member">TimerUnit</ref></type> |
| <declname>unit</declname> |
| </param> |
| <briefdescription> |
| <para>Get or create a named <ref refid="classiceberg_1_1Timer" kindref="compound">Timer</ref> with an explicit unit. </para> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="iceberg/metrics/metrics_context.h" line="77" column="19"/> |
| </memberdef> |
| <memberdef kind="function" id="classiceberg_1_1DefaultMetricsContext_1a04db6c1286a00a4237e1bf403e9147f8" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
| <type>std::shared_ptr< <ref refid="classiceberg_1_1Counter" kindref="compound">Counter</ref> ></type> |
| <definition>virtual std::shared_ptr< Counter > iceberg::MetricsContext::GetCounter</definition> |
| <argsstring>(std::string_view name, CounterUnit unit)=0</argsstring> |
| <name>GetCounter</name> |
| <qualifiedname>iceberg::DefaultMetricsContext::GetCounter</qualifiedname> |
| <reimplements refid="classiceberg_1_1MetricsContext_1a04db6c1286a00a4237e1bf403e9147f8">GetCounter</reimplements> |
| <param> |
| <type>std::string_view</type> |
| <declname>name</declname> |
| </param> |
| <param> |
| <type><ref refid="namespaceiceberg_1ab43be837ffa520a0d8a9186d90edac43" kindref="member">CounterUnit</ref></type> |
| <declname>unit</declname> |
| </param> |
| <briefdescription> |
| <para>Get or create a named <ref refid="classiceberg_1_1Counter" kindref="compound">Counter</ref> with an explicit unit. </para> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="iceberg/metrics/metrics_context.h" line="72" column="3"/> |
| </memberdef> |
| <memberdef kind="function" id="classiceberg_1_1DefaultMetricsContext_1ad0691fd499918d833d9fe0158245e51a" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual"> |
| <type>std::shared_ptr< <ref refid="classiceberg_1_1Counter" kindref="compound">Counter</ref> ></type> |
| <definition>std::shared_ptr< Counter > iceberg::MetricsContext::GetCounter</definition> |
| <argsstring>(std::string_view name)</argsstring> |
| <name>GetCounter</name> |
| <qualifiedname>iceberg::DefaultMetricsContext::GetCounter</qualifiedname> |
| <param> |
| <type>std::string_view</type> |
| <declname>name</declname> |
| </param> |
| <briefdescription> |
| <para>Get or create a count-unit <ref refid="classiceberg_1_1Counter" kindref="compound">Counter</ref> by name. </para> |
| </briefdescription> |
| <detaileddescription> |
| <para>Convenience overload defaulting to CounterUnit::kCount. </para> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="iceberg/metrics/metrics_context.h" line="72" column="3" bodyfile="iceberg/metrics/metrics_context.h" bodystart="46" bodyend="48"/> |
| </memberdef> |
| <memberdef kind="function" id="classiceberg_1_1DefaultMetricsContext_1a269394fb5a0537eef70b54f8d10781b0" prot="public" static="no" const="no" explicit="no" inline="no" virt="virtual"> |
| <type>std::shared_ptr< <ref refid="classiceberg_1_1Timer" kindref="compound">Timer</ref> ></type> |
| <definition>virtual std::shared_ptr< Timer > iceberg::MetricsContext::GetTimer</definition> |
| <argsstring>(std::string_view name, TimerUnit unit)=0</argsstring> |
| <name>GetTimer</name> |
| <qualifiedname>iceberg::DefaultMetricsContext::GetTimer</qualifiedname> |
| <reimplements refid="classiceberg_1_1MetricsContext_1a269394fb5a0537eef70b54f8d10781b0">GetTimer</reimplements> |
| <param> |
| <type>std::string_view</type> |
| <declname>name</declname> |
| </param> |
| <param> |
| <type><ref refid="namespaceiceberg_1a392862e5026f65af0f58105ede04659a" kindref="member">TimerUnit</ref></type> |
| <declname>unit</declname> |
| </param> |
| <briefdescription> |
| <para>Get or create a named <ref refid="classiceberg_1_1Timer" kindref="compound">Timer</ref> with an explicit unit. </para> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="iceberg/metrics/metrics_context.h" line="73" column="3"/> |
| </memberdef> |
| <memberdef kind="function" id="classiceberg_1_1DefaultMetricsContext_1a6dacd2ba7d895ff58c7870a7c2a86eab" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual"> |
| <type>std::shared_ptr< <ref refid="classiceberg_1_1Timer" kindref="compound">Timer</ref> ></type> |
| <definition>std::shared_ptr< Timer > iceberg::MetricsContext::GetTimer</definition> |
| <argsstring>(std::string_view name)</argsstring> |
| <name>GetTimer</name> |
| <qualifiedname>iceberg::DefaultMetricsContext::GetTimer</qualifiedname> |
| <param> |
| <type>std::string_view</type> |
| <declname>name</declname> |
| </param> |
| <briefdescription> |
| <para>Get or create a nanosecond-precision <ref refid="classiceberg_1_1Timer" kindref="compound">Timer</ref> by name. </para> |
| </briefdescription> |
| <detaileddescription> |
| <para>Convenience overload defaulting to TimerUnit::kNanoseconds. </para> |
| </detaileddescription> |
| <inbodydescription> |
| </inbodydescription> |
| <location file="iceberg/metrics/metrics_context.h" line="73" column="3" bodyfile="iceberg/metrics/metrics_context.h" bodystart="56" bodyend="58"/> |
| </memberdef> |
| </sectiondef> |
| <briefdescription> |
| <para><ref refid="classiceberg_1_1MetricsContext" kindref="compound">MetricsContext</ref> backed by <ref refid="classiceberg_1_1DefaultCounter" kindref="compound">DefaultCounter</ref> and <ref refid="classiceberg_1_1DefaultTimer" kindref="compound">DefaultTimer</ref> instances. </para> |
| </briefdescription> |
| <detaileddescription> |
| </detaileddescription> |
| <inheritancegraph> |
| <node id="1"> |
| <label>iceberg::DefaultMetricsContext</label> |
| <link refid="classiceberg_1_1DefaultMetricsContext"/> |
| <childnode refid="2" relation="public-inheritance"> |
| </childnode> |
| </node> |
| <node id="2"> |
| <label>iceberg::MetricsContext</label> |
| <link refid="classiceberg_1_1MetricsContext"/> |
| </node> |
| </inheritancegraph> |
| <collaborationgraph> |
| <node id="1"> |
| <label>iceberg::DefaultMetricsContext</label> |
| <link refid="classiceberg_1_1DefaultMetricsContext"/> |
| <childnode refid="2" relation="public-inheritance"> |
| </childnode> |
| </node> |
| <node id="2"> |
| <label>iceberg::MetricsContext</label> |
| <link refid="classiceberg_1_1MetricsContext"/> |
| </node> |
| </collaborationgraph> |
| <location file="iceberg/metrics/metrics_context.h" line="70" column="1" bodyfile="iceberg/metrics/metrics_context.h" bodystart="70" bodyend="78"/> |
| <listofallmembers> |
| <member refid="classiceberg_1_1MetricsContext_1a1b42df11c9bf12bdba8928f4aa6a99dc" prot="public" virt="non-virtual"><scope>iceberg::DefaultMetricsContext</scope><name>Default</name></member> |
| <member refid="classiceberg_1_1DefaultMetricsContext_1afd37231eefdef92754b51e44f41554ea" prot="public" virt="virtual"><scope>iceberg::DefaultMetricsContext</scope><name>GetCounter</name></member> |
| <member refid="classiceberg_1_1DefaultMetricsContext_1a04db6c1286a00a4237e1bf403e9147f8" prot="public" virt="virtual"><scope>iceberg::DefaultMetricsContext</scope><name>GetCounter</name></member> |
| <member refid="classiceberg_1_1DefaultMetricsContext_1ad0691fd499918d833d9fe0158245e51a" prot="public" virt="non-virtual"><scope>iceberg::DefaultMetricsContext</scope><name>GetCounter</name></member> |
| <member refid="classiceberg_1_1DefaultMetricsContext_1a9a6f4c762fa46b119f7bc7fb5d0a5cd2" prot="public" virt="virtual"><scope>iceberg::DefaultMetricsContext</scope><name>GetTimer</name></member> |
| <member refid="classiceberg_1_1DefaultMetricsContext_1a269394fb5a0537eef70b54f8d10781b0" prot="public" virt="virtual"><scope>iceberg::DefaultMetricsContext</scope><name>GetTimer</name></member> |
| <member refid="classiceberg_1_1DefaultMetricsContext_1a6dacd2ba7d895ff58c7870a7c2a86eab" prot="public" virt="non-virtual"><scope>iceberg::DefaultMetricsContext</scope><name>GetTimer</name></member> |
| <member refid="classiceberg_1_1MetricsContext_1a0f5198704f2a80282fe4f45827bfb6d3" prot="public" virt="non-virtual"><scope>iceberg::DefaultMetricsContext</scope><name>Noop</name></member> |
| <member refid="classiceberg_1_1MetricsContext_1afec8370ada142d244d1e6c5a6f339213" prot="public" virt="virtual"><scope>iceberg::DefaultMetricsContext</scope><name>~MetricsContext</name></member> |
| </listofallmembers> |
| </compounddef> |
| </doxygen> |