HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::profiling::GPUTracerManager< TDerived > Class Template Reference

#include <gpu_profiler_common.h>

Public Member Functions

 ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE (GPUTracerManager)
 
virtual ~GPUTracerManager ()
 
uint64_t RegisterClient ()
 
void DeregisterClient (uint64_t client_handle)
 
void StartLogging ()
 
void Consume (uint64_t client_handle, const TimePoint &start_time, std::map< uint64_t, Events > &events)
 
void PushCorrelation (uint64_t client_handle, uint64_t external_correlation_id, TimePoint profiling_start_time)
 
void PopCorrelation (uint64_t &popped_external_correlation_id)
 
void PopCorrelation ()
 

Protected Member Functions

 GPUTracerManager ()
 
void EnqueueActivityBuffer (ProfilerActivityBuffer &&buffer)
 
void MapEventToClient (uint64_t tracer_correlation_id, EventRecord &&event)
 
void NotifyNewCorrelation (uint64_t tracer_correlation_id, uint64_t unique_correlation_id)
 
uint64_t NormalizeGPUTimestampToCPUEpoch (uint64_t gpu_timestamp_in_nanoseconds)
 

Detailed Description

template<typename TDerived>
class onnxruntime::profiling::GPUTracerManager< TDerived >

Definition at line 89 of file gpu_profiler_common.h.

Constructor & Destructor Documentation

template<typename TDerived >
virtual onnxruntime::profiling::GPUTracerManager< TDerived >::~GPUTracerManager ( )
inlinevirtual

Definition at line 92 of file gpu_profiler_common.h.

template<typename TDerived >
onnxruntime::profiling::GPUTracerManager< TDerived >::GPUTracerManager ( )
inlineprotected

Definition at line 222 of file gpu_profiler_common.h.

Member Function Documentation

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::Consume ( uint64_t  client_handle,
const TimePoint start_time,
std::map< uint64_t, Events > &  events 
)
inline

Definition at line 125 of file gpu_profiler_common.h.

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::DeregisterClient ( uint64_t  client_handle)
inline

Definition at line 102 of file gpu_profiler_common.h.

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::EnqueueActivityBuffer ( ProfilerActivityBuffer &&  buffer)
inlineprotected

Definition at line 253 of file gpu_profiler_common.h.

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::MapEventToClient ( uint64_t  tracer_correlation_id,
EventRecord &&  event 
)
inlineprotected

Definition at line 259 of file gpu_profiler_common.h.

template<typename TDerived >
uint64_t onnxruntime::profiling::GPUTracerManager< TDerived >::NormalizeGPUTimestampToCPUEpoch ( uint64_t  gpu_timestamp_in_nanoseconds)
inlineprotected

Definition at line 285 of file gpu_profiler_common.h.

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::NotifyNewCorrelation ( uint64_t  tracer_correlation_id,
uint64_t  unique_correlation_id 
)
inlineprotected

Definition at line 274 of file gpu_profiler_common.h.

template<typename TDerived >
onnxruntime::profiling::GPUTracerManager< TDerived >::ORT_DISALLOW_COPY_ASSIGNMENT_AND_MOVE ( GPUTracerManager< TDerived >  )
template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::PopCorrelation ( uint64_t &  popped_external_correlation_id)
inline

Definition at line 199 of file gpu_profiler_common.h.

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::PopCorrelation ( )
inline

Definition at line 216 of file gpu_profiler_common.h.

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::PushCorrelation ( uint64_t  client_handle,
uint64_t  external_correlation_id,
TimePoint  profiling_start_time 
)
inline

Definition at line 158 of file gpu_profiler_common.h.

template<typename TDerived >
uint64_t onnxruntime::profiling::GPUTracerManager< TDerived >::RegisterClient ( )
inline

Definition at line 94 of file gpu_profiler_common.h.

template<typename TDerived >
void onnxruntime::profiling::GPUTracerManager< TDerived >::StartLogging ( )
inline

Definition at line 115 of file gpu_profiler_common.h.


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