|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
8 #include "opentelemetry/common/spin_lock_mutex.h"
9 #include "opentelemetry/metrics/meter_provider.h"
10 #include "opentelemetry/metrics/noop.h"
11 #include "opentelemetry/nostd/shared_ptr.h"
12 #include "opentelemetry/version.h"
32 std::lock_guard<common::SpinLockMutex> guard(GetLock());
41 std::lock_guard<common::SpinLockMutex> guard(GetLock());
Provide a type-erased version of std::shared_ptr that has ABI stability.
No-op implementation of a MeterProvider.
#define OPENTELEMETRY_BEGIN_NAMESPACE
A Mutex which uses atomic flags and spin-locks instead of halting threads.
static void SetMeterProvider(const nostd::shared_ptr< MeterProvider > &tp) noexcept
Changes the singleton MeterProvider.
#define OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_API_SINGLETON
static nostd::shared_ptr< MeterProvider > GetMeterProvider() noexcept
Returns the singleton MeterProvider.
Stores the singleton global MeterProvider.