|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
13 #include "opentelemetry/common/macros.h"
14 #include "opentelemetry/metrics/meter.h"
15 #include "opentelemetry/version.h"
32 "Deprecated. Use `system.cpu.frequency` instead.";
35 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
75 "Deprecated. Use `system.cpu.time` instead.";
112 "Deprecated. Use `system.cpu.utilization` instead.";
115 #if OPENTELEMETRY_ABI_VERSION_NO >= 2
virtual nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableGauge(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Asynchronous (Observable) Gauge with the passed characteristics and returns a shared_ptr to...
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricCpuUtilization(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< uint64_t > > CreateSyncInt64MetricCpuTime(metrics::Meter *meter)
static nostd::unique_ptr< metrics::Counter< double > > CreateSyncDoubleMetricCpuTime(metrics::Meter *meter)
static constexpr const char * descrMetricCpuUtilization
Provide a simplified port of std::unique_ptr that has ABI stability.
Provide a type-erased version of std::shared_ptr that has ABI stability.
static constexpr const char * descrMetricCpuFrequency
static constexpr const char * kMetricCpuTime
Seconds each logical CPU spent on each mode.
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricCpuFrequency(metrics::Meter *meter)
static constexpr const char * unitMetricCpuFrequency
#define OPENTELEMETRY_BEGIN_NAMESPACE
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricCpuTime(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricCpuTime(metrics::Meter *meter)
virtual nostd::unique_ptr< Counter< double > > CreateDoubleCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
static constexpr const char * descrMetricCpuTime
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
#define OPENTELEMETRY_END_NAMESPACE
static constexpr const char * kMetricCpuUtilization
For each logical CPU, the utilization is calculated as the change in cumulative CPU time (cpu....
virtual nostd::unique_ptr< Counter< uint64_t > > CreateUInt64Counter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Counter with the passed characteristics and returns a unique_ptr to that Counter.
virtual nostd::shared_ptr< ObservableInstrument > CreateInt64ObservableCounter(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Creates a Asynchronous (Observable) counter with the passed characteristics and returns a shared_ptr ...
virtual nostd::shared_ptr< ObservableInstrument > CreateDoubleObservableGauge(nostd::string_view name, nostd::string_view description="", nostd::string_view unit="") noexcept=0
Handles instrument creation and provides a facility for batch recording.
static constexpr const char * unitMetricCpuTime
static constexpr const char * unitMetricCpuUtilization
#define OPENTELEMETRY_DEPRECATED
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncInt64MetricCpuUtilization(metrics::Meter *meter)
static nostd::shared_ptr< metrics::ObservableInstrument > CreateAsyncDoubleMetricCpuFrequency(metrics::Meter *meter)
static constexpr const char * kMetricCpuFrequency
Operating frequency of the logical CPU in Hertz.