DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

dw::trace::TracerConfig Struct Reference

Detailed Description

DWTrace initialisation and configuration structure.

Based on values provided in following structure DWTrace will be configured.

Definition at line 78 of file Trace.hpp.

Public Member Functions

 TracerConfig ()=default
 
 TracerConfig (bool const enabledFlag, char8_t const *const fileLoc, uint64_t const chanMask, bool const fileBackendFlag, uint32_t const fileSize, bool const networkBackendFlag, char8_t const *const ipAddress, uint16_t const portNum, bool const nvtxBackendFlag, uint32_t const traceLevel, uint32_t const flushEpoch, bool const ftraceFlag, bool const memTraceFlag, bool const fullMemUse, bool const diskIOStats, char8_t const *const start=nullptr, bool const &createCudaEventsFlag=true)
 

Data Fields

uint64_t channelMask = 0
 
bool createCudaEvents = true
 
bool diskIOStatsEnabled = false
 
bool enabled = false
 
bool fileBackendEnabled = false
 
dwtStringFilepath_t filePath = {}
 
uint32_t flushInterval = 0
 
bool ftraceBackendEnabled = false
 
bool fullMemUsage = false
 
dwtStringIPAddr_t ipAddr = {}
 
uint32_t maxFileSizeMB = 0
 
bool memTraceEnabled = false
 
bool networkBackendEnabled = false
 
bool nvtxBackendEnabled = false
 
uint16_t serverPort = 0
 
dwtFixedString_t startTime = {}
 
Level tracingLevel = Level::NONE
 

Constructor & Destructor Documentation

◆ TracerConfig() [1/2]

dw::trace::TracerConfig::TracerConfig ( )
default

◆ TracerConfig() [2/2]

dw::trace::TracerConfig::TracerConfig ( bool const  enabledFlag,
char8_t const *const  fileLoc,
uint64_t const  chanMask,
bool const  fileBackendFlag,
uint32_t const  fileSize,
bool const  networkBackendFlag,
char8_t const *const  ipAddress,
uint16_t const  portNum,
bool const  nvtxBackendFlag,
uint32_t const  traceLevel,
uint32_t const  flushEpoch,
bool const  ftraceFlag,
bool const  memTraceFlag,
bool const  fullMemUse,
bool const  diskIOStats,
char8_t const *const  start = nullptr,
bool const &  createCudaEventsFlag = true 
)
inline

Definition at line 122 of file Trace.hpp.

Field Documentation

◆ channelMask

uint64_t dw::trace::TracerConfig::channelMask = 0

Definition at line 86 of file Trace.hpp.

◆ createCudaEvents

bool dw::trace::TracerConfig::createCudaEvents = true

Definition at line 119 of file Trace.hpp.

◆ diskIOStatsEnabled

bool dw::trace::TracerConfig::diskIOStatsEnabled = false

Definition at line 115 of file Trace.hpp.

◆ enabled

bool dw::trace::TracerConfig::enabled = false

Definition at line 81 of file Trace.hpp.

◆ fileBackendEnabled

bool dw::trace::TracerConfig::fileBackendEnabled = false

Definition at line 89 of file Trace.hpp.

◆ filePath

dwtStringFilepath_t dw::trace::TracerConfig::filePath = {}

Definition at line 83 of file Trace.hpp.

◆ flushInterval

uint32_t dw::trace::TracerConfig::flushInterval = 0

Definition at line 105 of file Trace.hpp.

◆ ftraceBackendEnabled

bool dw::trace::TracerConfig::ftraceBackendEnabled = false

Definition at line 107 of file Trace.hpp.

◆ fullMemUsage

bool dw::trace::TracerConfig::fullMemUsage = false

Definition at line 111 of file Trace.hpp.

◆ ipAddr

dwtStringIPAddr_t dw::trace::TracerConfig::ipAddr = {}

Definition at line 96 of file Trace.hpp.

◆ maxFileSizeMB

uint32_t dw::trace::TracerConfig::maxFileSizeMB = 0

Definition at line 92 of file Trace.hpp.

◆ memTraceEnabled

bool dw::trace::TracerConfig::memTraceEnabled = false

Definition at line 109 of file Trace.hpp.

◆ networkBackendEnabled

bool dw::trace::TracerConfig::networkBackendEnabled = false

Definition at line 94 of file Trace.hpp.

◆ nvtxBackendEnabled

bool dw::trace::TracerConfig::nvtxBackendEnabled = false

Definition at line 100 of file Trace.hpp.

◆ serverPort

uint16_t dw::trace::TracerConfig::serverPort = 0

Definition at line 98 of file Trace.hpp.

◆ startTime

dwtFixedString_t dw::trace::TracerConfig::startTime = {}

Definition at line 117 of file Trace.hpp.

◆ tracingLevel

Level dw::trace::TracerConfig::tracingLevel = Level::NONE

Definition at line 103 of file Trace.hpp.


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