HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::profiling::ProfilerActivityBuffer Class Reference

#include <gpu_profiler_common.h>

Public Member Functions

 ProfilerActivityBuffer () noexcept
 
 ProfilerActivityBuffer (const char *data, size_t size) noexcept
 
 ProfilerActivityBuffer (const ProfilerActivityBuffer &other) noexcept
 
 ProfilerActivityBuffer (ProfilerActivityBuffer &&other) noexcept
 
ProfilerActivityBufferoperator= (const ProfilerActivityBuffer &other) noexcept
 
ProfilerActivityBufferoperator= (ProfilerActivityBuffer &&other) noexcept
 
char * GetData ()
 
const char * GetData () const
 
size_t GetSize () const
 

Static Public Member Functions

static ProfilerActivityBuffer CreateFromPreallocatedBuffer (std::unique_ptr< char[]> &&buffer_ptr, size_t size)
 

Detailed Description

Definition at line 34 of file gpu_profiler_common.h.

Constructor & Destructor Documentation

onnxruntime::profiling::ProfilerActivityBuffer::ProfilerActivityBuffer ( )
inlinenoexcept

Definition at line 36 of file gpu_profiler_common.h.

onnxruntime::profiling::ProfilerActivityBuffer::ProfilerActivityBuffer ( const char *  data,
size_t  size 
)
inlinenoexcept

Definition at line 39 of file gpu_profiler_common.h.

onnxruntime::profiling::ProfilerActivityBuffer::ProfilerActivityBuffer ( const ProfilerActivityBuffer other)
inlinenoexcept

Definition at line 44 of file gpu_profiler_common.h.

onnxruntime::profiling::ProfilerActivityBuffer::ProfilerActivityBuffer ( ProfilerActivityBuffer &&  other)
inlinenoexcept

Definition at line 47 of file gpu_profiler_common.h.

Member Function Documentation

static ProfilerActivityBuffer onnxruntime::profiling::ProfilerActivityBuffer::CreateFromPreallocatedBuffer ( std::unique_ptr< char[]> &&  buffer_ptr,
size_t  size 
)
inlinestatic

Definition at line 71 of file gpu_profiler_common.h.

char* onnxruntime::profiling::ProfilerActivityBuffer::GetData ( )
inline

Definition at line 79 of file gpu_profiler_common.h.

const char* onnxruntime::profiling::ProfilerActivityBuffer::GetData ( ) const
inline

Definition at line 80 of file gpu_profiler_common.h.

size_t onnxruntime::profiling::ProfilerActivityBuffer::GetSize ( ) const
inline

Definition at line 81 of file gpu_profiler_common.h.

ProfilerActivityBuffer& onnxruntime::profiling::ProfilerActivityBuffer::operator= ( const ProfilerActivityBuffer other)
inlinenoexcept

Definition at line 53 of file gpu_profiler_common.h.

ProfilerActivityBuffer& onnxruntime::profiling::ProfilerActivityBuffer::operator= ( ProfilerActivityBuffer &&  other)
inlinenoexcept

Definition at line 62 of file gpu_profiler_common.h.


The documentation for this class was generated from the following file: