![]() |
ONNX Runtime
|
#include <onnxruntime_cxx_api.h>
Public Types | |
| using | B = Ort::detail::Base< T > |
Public Types inherited from Ort::detail::Base< T > | |
| using | contained_type = T |
Public Member Functions | |
| OrtProfilingEventCategory | GetCategory () const |
| Get the event category. Wraps OrtEpApi::ProfilingEvent_GetCategory. | |
| const char * | GetName () const |
| Get the event name. Wraps OrtEpApi::ProfilingEvent_GetName. | |
| int64_t | GetTimestampUs () const |
| Get the start timestamp in microseconds. Wraps OrtEpApi::ProfilingEvent_GetTimestampUs. | |
| int64_t | GetDurationUs () const |
| Get the duration in microseconds. Wraps OrtEpApi::ProfilingEvent_GetDurationUs. | |
| const char * | GetArgValue (const char *key) const |
| Get the value of an event argument by key. Wraps OrtEpApi::ProfilingEvent_GetArgValue. | |
Public Member Functions inherited from Ort::detail::Base< T > | |
| constexpr | Base ()=default |
| constexpr | Base (contained_type *p) noexcept |
| ~Base () | |
| Base (const Base &)=delete | |
| Base & | operator= (const Base &)=delete |
| Base (Base &&v) noexcept | |
| Base & | operator= (Base &&v) noexcept |
| constexpr | operator contained_type * () const noexcept |
| constexpr contained_type & | operator* () const noexcept |
| contained_type * | release () |
| Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. | |
Additional Inherited Members | |
Protected Attributes inherited from Ort::detail::Base< T > | |
| contained_type * | p_ {} |
| using Ort::detail::ConstProfilingEventImpl< T >::B = Ort::detail::Base<T> |
| const char * Ort::detail::ConstProfilingEventImpl< T >::GetArgValue | ( | const char * | key | ) | const |
Get the value of an event argument by key. Wraps OrtEpApi::ProfilingEvent_GetArgValue.
| [in] | key | Null-terminated argument key to look up. |
| OrtProfilingEventCategory Ort::detail::ConstProfilingEventImpl< T >::GetCategory | ( | ) | const |
Get the event category. Wraps OrtEpApi::ProfilingEvent_GetCategory.
| int64_t Ort::detail::ConstProfilingEventImpl< T >::GetDurationUs | ( | ) | const |
Get the duration in microseconds. Wraps OrtEpApi::ProfilingEvent_GetDurationUs.
| const char * Ort::detail::ConstProfilingEventImpl< T >::GetName | ( | ) | const |
Get the event name. Wraps OrtEpApi::ProfilingEvent_GetName.
| int64_t Ort::detail::ConstProfilingEventImpl< T >::GetTimestampUs | ( | ) | const |
Get the start timestamp in microseconds. Wraps OrtEpApi::ProfilingEvent_GetTimestampUs.