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

#include <gpu_profiler_common.h>

+ Inheritance diagram for onnxruntime::profiling::GPUProfilerBase< TManager >:

Public Member Functions

virtual bool StartProfiling (TimePoint profiling_start_time) override
 
virtual void EndProfiling (TimePoint start_time, Events &events) override
 
virtual void Start (uint64_t id) override
 
virtual void Stop (uint64_t) override
 
- Public Member Functions inherited from onnxruntime::profiling::EpProfiler
virtual ~EpProfiler ()=default
 

Protected Member Functions

 GPUProfilerBase ()=default
 
virtual ~GPUProfilerBase ()
 
void MergeEvents (std::map< uint64_t, Events > &events_to_merge, Events &events)
 

Protected Attributes

uint64_t client_handle_
 
TimePoint profiling_start_time_
 

Detailed Description

template<typename TManager>
class onnxruntime::profiling::GPUProfilerBase< TManager >

Definition at line 374 of file gpu_profiler_common.h.

Constructor & Destructor Documentation

template<typename TManager >
onnxruntime::profiling::GPUProfilerBase< TManager >::GPUProfilerBase ( )
protecteddefault
template<typename TManager >
virtual onnxruntime::profiling::GPUProfilerBase< TManager >::~GPUProfilerBase ( )
inlineprotectedvirtual

Definition at line 377 of file gpu_profiler_common.h.

Member Function Documentation

template<typename TManager >
virtual void onnxruntime::profiling::GPUProfilerBase< TManager >::EndProfiling ( TimePoint  start_time,
Events events 
)
inlineoverridevirtual

Implements onnxruntime::profiling::EpProfiler.

Definition at line 446 of file gpu_profiler_common.h.

template<typename TManager >
void onnxruntime::profiling::GPUProfilerBase< TManager >::MergeEvents ( std::map< uint64_t, Events > &  events_to_merge,
Events events 
)
inlineprotected

Definition at line 379 of file gpu_profiler_common.h.

template<typename TManager >
virtual void onnxruntime::profiling::GPUProfilerBase< TManager >::Start ( uint64_t  id)
inlineoverridevirtual

Reimplemented from onnxruntime::profiling::EpProfiler.

Definition at line 453 of file gpu_profiler_common.h.

template<typename TManager >
virtual bool onnxruntime::profiling::GPUProfilerBase< TManager >::StartProfiling ( TimePoint  profiling_start_time)
inlineoverridevirtual

Implements onnxruntime::profiling::EpProfiler.

Definition at line 439 of file gpu_profiler_common.h.

template<typename TManager >
virtual void onnxruntime::profiling::GPUProfilerBase< TManager >::Stop ( uint64_t  )
inlineoverridevirtual

Reimplemented from onnxruntime::profiling::EpProfiler.

Definition at line 458 of file gpu_profiler_common.h.

Member Data Documentation

template<typename TManager >
uint64_t onnxruntime::profiling::GPUProfilerBase< TManager >::client_handle_
protected

Definition at line 435 of file gpu_profiler_common.h.

template<typename TManager >
TimePoint onnxruntime::profiling::GPUProfilerBase< TManager >::profiling_start_time_
protected

Definition at line 436 of file gpu_profiler_common.h.


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