Compute Graph Framework SDK Reference
5.4.5418 Release
For Test and Development only

ChannelTrace.hpp File Reference

Go to the source code of this file.

Data Structures

struct  dw::framework::ChannelPacketFingerprint
 
struct  dw::framework::ChannelTracePoint
 This struct records the info relating to a single event on a channel. More...
 
struct  dw::framework::ChannelTraceProcessParam
 

Namespaces

 dw
 
 dw::framework
 

Typedefs

using dw::framework::ChannelOnRegisterTraceReader = dw::core::Function< ChannelTraceReadCallback(const char *channelID)>
 Callback used by channel to register its need to read trace points. More...
 
using dw::framework::ChannelOnRegisterTraceWriter = dw::core::Function< ChannelTraceWriteCallback(const char *channelID)>
 Callback used by channel to register its need to write trace points. More...
 
using dw::framework::ChannelTraceReadCallback = dw::core::Function< bool(ChannelTracePoint &)>
 Callback used by channel to read a tracepoint. More...
 
using dw::framework::ChannelTraceWriteCallback = dw::core::Function< void(ChannelTracePoint)>
 Callback used by channel to write a tracepoint. More...
 

Enumerations

enum  dw::framework::ChannelTraceEventType {
  dw::framework::ChannelTraceEventType::WAIT,
  dw::framework::ChannelTraceEventType::RECV,
  dw::framework::ChannelTraceEventType::RELEASE,
  dw::framework::ChannelTraceEventType::DROP,
  dw::framework::ChannelTraceEventType::GET,
  dw::framework::ChannelTraceEventType::SEND,
  dw::framework::ChannelTraceEventType::RETURN
}
 
enum  dw::framework::ChannelTraceMode {
  dw::framework::ChannelTraceMode::DISABLED,
  dw::framework::ChannelTraceMode::RECORD,
  dw::framework::ChannelTraceMode::REPLAY
}
 A channel is created with a particular mode for these traces. More...
 

Functions

uint32_t dw::framework::ChannelTraceHashId (const char *id)
 
void dw::framework::ChannelTraceProcess (dw::core::span< ChannelTraceProcessParam > traces)
 Process recorded traces from a set of interconnected producers/consumers into a replayable format. More...
 

Data Structure Documentation

◆ dw::framework::ChannelPacketFingerprint

struct dw::framework::ChannelPacketFingerprint
Data Fields
uint32_t bufferID
uint32_t channelID
uint32_t getID

◆ dw::framework::ChannelTracePoint

struct dw::framework::ChannelTracePoint
Data Fields
ChannelTraceEventType eventType The type of the event recorded in this trace point.
ChannelPacketFingerprint packetFingerprint The fingerprint of the packet involved in the event.
dwStatus status The status returned to the client (for events involving client interaction)

◆ dw::framework::ChannelTraceProcessParam

struct dw::framework::ChannelTraceProcessParam
Data Fields
uint32_t channelID The trace ID of the channel to be processed.
ChannelTraceReadCallback input Iterator to read the recorded traces of the channel to be processed.
ChannelTraceWriteCallback output Iterator to write the replayable traces of the channel to be processed.