ONNX Runtime
Loading...
Searching...
No Matches
Ort::detail::ProfilingEventsContainerImpl< T > Struct Template Reference

#include <onnxruntime_cxx_api.h>

Inheritance diagram for Ort::detail::ProfilingEventsContainerImpl< T >:
Ort::detail::Base< T >

Public Types

using B = Ort::detail::Base< T >
 
- Public Types inherited from Ort::detail::Base< T >
using contained_type = T
 

Public Member Functions

Ort::Status AddEvents (const OrtProfilingEvent *const *events, size_t num_events)
 Adds profiling events to this container. Events are copied. Wraps OrtEpApi::ProfilingEventsContainer_AddEvents.
 
Ort::Status AddEvents (const std::vector< ProfilingEvent > &events)
 
- Public Member Functions inherited from Ort::detail::Base< T >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 ~Base ()
 
 Base (const Base &)=delete
 
Baseoperator= (const Base &)=delete
 
 Base (Base &&v) noexcept
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
constexpr contained_typeoperator* () const noexcept
 
contained_typerelease ()
 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_typep_ {}
 

Member Typedef Documentation

◆ B

template<typename T >
using Ort::detail::ProfilingEventsContainerImpl< T >::B = Ort::detail::Base<T>

Member Function Documentation

◆ AddEvents() [1/2]

template<typename T >
Ort::Status Ort::detail::ProfilingEventsContainerImpl< T >::AddEvents ( const OrtProfilingEvent *const *  events,
size_t  num_events 
)

Adds profiling events to this container. Events are copied. Wraps OrtEpApi::ProfilingEventsContainer_AddEvents.

◆ AddEvents() [2/2]

template<typename T >
Ort::Status Ort::detail::ProfilingEventsContainerImpl< T >::AddEvents ( const std::vector< ProfilingEvent > &  events)