|
|
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/nostd/shared_ptr.h"
10 #include "opentelemetry/trace/noop.h"
11 #include "opentelemetry/trace/tracer_provider.h"
12 #include "opentelemetry/version.h"
32 std::lock_guard<common::SpinLockMutex> guard(GetLock());
41 std::lock_guard<common::SpinLockMutex> guard(GetLock());
Stores the singleton global TracerProvider.
#define OPENTELEMETRY_EXPORT
static nostd::shared_ptr< TracerProvider > GetTracerProvider() noexcept
Returns the singleton TracerProvider.
Provide a type-erased version of std::shared_ptr that has ABI stability.
#define OPENTELEMETRY_BEGIN_NAMESPACE
A Mutex which uses atomic flags and spin-locks instead of halting threads.
#define OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_API_SINGLETON
static void SetTracerProvider(const nostd::shared_ptr< TracerProvider > &tp) noexcept
Changes the singleton TracerProvider.
No-op implementation of a TracerProvider.