DWTrace initialisation and configuration structure.
Based on values provided in following structure DWTrace will be configured.
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 |
|
default |
|
inline |
dwtStringFilepath_t dw::trace::TracerConfig::filePath = {} |
bool dw::trace::TracerConfig::ftraceBackendEnabled = false |
dwtStringIPAddr_t dw::trace::TracerConfig::ipAddr = {} |
bool dw::trace::TracerConfig::networkBackendEnabled = false |
dwtFixedString_t dw::trace::TracerConfig::startTime = {} |
Level dw::trace::TracerConfig::tracingLevel = Level::NONE |