DriveWorks SDK Reference
5.20.37 Release
For Test and Development only

TraceStructures.hpp File Reference

Go to the source code of this file.

Data Structures

struct  dw::trace::CudaTraceEvent
 
struct  dw::trace::dwtEvent_t
 
struct  dw::trace::TracerConfig
 DWTrace initialisation and configuration structure. More...
 

Namespaces

namespace  dw
 
namespace  dw::trace
 

Enumerations

enum class  dw::trace::Backend {
  dw::trace::FILEBASED = 0 ,
  dw::trace::IBACKEND ,
  dw::trace::NVTX = IBACKEND ,
  dw::trace::FTRACE ,
  dw::trace::MAX_BACKEND
}
 Add documentation. More...
 
enum class  dw::trace::Level {
  dw::trace::NONE = 0 ,
  dw::trace::LEVEL_10 = 10 ,
  dw::trace::LEVEL_20 = 20 ,
  dw::trace::LEVEL_30 = 30 ,
  dw::trace::LEVEL_50 = 50 ,
  dw::trace::LEVEL_70 = 70 ,
  dw::trace::LEVEL_100 = 100
}
 Tracing can be controlled through tracing levels. More...
 
enum class  dw::trace::TraceChannel {
  dw::trace::DEFAULT = 0 ,
  dw::trace::LATENCY ,
  dw::trace::CAMERA ,
  dw::trace::PIPELINE ,
  dw::trace::COMM ,
  dw::trace::RENDER ,
  dw::trace::RADAR ,
  dw::trace::STARTUP ,
  dw::trace::DATA_LATENCY ,
  dw::trace::ROADCAST ,
  dw::trace::VDC ,
  dw::trace::DW ,
  dw::trace::PROFILING ,
  dw::trace::SHUTDOWN ,
  dw::trace::MAX_CHANNEL
}
 DWTrace channels are used for capturing similar traces in one place. More...
 
enum class  dw::trace::TraceHeaderType {
  dw::trace::NONE = 0 ,
  dw::trace::MARKER ,
  dw::trace::RANGE_BEGIN ,
  dw::trace::RANGE_END ,
  dw::trace::ASYNC_RANGE_BEGIN ,
  dw::trace::ASYNC_RANGE_END ,
  dw::trace::CUDA_BEGIN ,
  dw::trace::CUDA_END ,
  dw::trace::SCOPE
}
 

Variables

static constexpr Level dw::trace::DW_TRACE_LEVEL_DEFAULT {Level::LEVEL_30}
 If not sure about tracing level at the time of using DWTrace API, then use default trace level. More...
 
static const dw::core::StaticHashMap< sv, Level, NUM_LEVELS > dw::trace::nameToLevelMap
 
static constexpr size_t dw::trace::NUM_LEVELS {static_cast<size_t>(Level::LEVEL_100) + 1UL}
 

Data Structure Documentation

◆ dw::trace::CudaTraceEvent

struct dw::trace::CudaTraceEvent
Data Fields
cudaEvent_t event
cudaStream_t streamId