NVIDIA DeepStream SDK API Reference
9.2 Release
9.2/includes/opentelemetry/sdk/common/thread_instrumentation.h
Go to the documentation of this file.
1
// Copyright The OpenTelemetry Authors
2
// SPDX-License-Identifier: Apache-2.0
3
4
#pragma once
5
6
#include "opentelemetry/version.h"
7
8
OPENTELEMETRY_BEGIN_NAMESPACE
9
namespace
sdk
10
{
11
namespace
common
12
{
13
71
class
ThreadInstrumentation
72
{
73
public
:
74
ThreadInstrumentation
() =
default
;
75
virtual
~ThreadInstrumentation
() =
default
;
76
77
/*
78
* This feature is experimental, protected by a _PREVIEW flag.
79
*/
80
#ifdef ENABLE_THREAD_INSTRUMENTATION_PREVIEW
81
virtual
void
OnStart() {}
82
virtual
void
OnEnd() {}
83
virtual
void
BeforeWait() {}
84
virtual
void
AfterWait() {}
85
virtual
void
BeforeLoad() {}
86
virtual
void
AfterLoad() {}
87
#endif
/* ENABLE_THREAD_INSTRUMENTATION_PREVIEW */
88
};
89
90
}
// namespace common
91
}
// namespace sdk
92
OPENTELEMETRY_END_NAMESPACE
sdk::common::ThreadInstrumentation::~ThreadInstrumentation
virtual ~ThreadInstrumentation()=default
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition:
includes/opentelemetry/version.h:21
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition:
includes/opentelemetry/version.h:24
sdk
Definition:
includes/opentelemetry/sdk/common/atomic_shared_ptr.h:13
sdk::common::ThreadInstrumentation::ThreadInstrumentation
ThreadInstrumentation()=default
common
Definition:
includes/opentelemetry/common/attribute_value.h:14
Privacy Policy
|
Your Privacy Choices
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Wed Oct 28 2026 12:02:51 | PR-09318-R32