Compute Graph Framework SDK Reference  5.8
ChannelTrace.hpp File Reference

Go to the source code of this file.

Classes

struct  dw::framework::ChannelPacketFingerprint
 
struct  dw::framework::ChannelTracePoint
 
struct  dw::framework::ChannelTraceProcessParam
 

Namespaces

namespace  dw
 
namespace  dw::framework
 

Typedefs

using dw::framework::ChannelOnRegisterTraceReader = dw::core::Function< ChannelTraceReadCallback(const char *channelID)>
 
using dw::framework::ChannelOnRegisterTraceWriter = dw::core::Function< ChannelTraceWriteCallback(const char *channelID)>
 
using dw::framework::ChannelTraceReadCallback = dw::core::Function< bool(ChannelTracePoint &)>
 
using dw::framework::ChannelTraceWriteCallback = dw::core::Function< void(ChannelTracePoint)>
 

Enumerations

enum class  dw::framework::ChannelTraceEventType {
  dw::framework::WAIT ,
  dw::framework::RECV ,
  dw::framework::RELEASE ,
  dw::framework::DROP ,
  dw::framework::GET ,
  dw::framework::SEND ,
  dw::framework::RETURN
}
 
enum class  dw::framework::ChannelTraceMode {
  dw::framework::DISABLED ,
  dw::framework::RECORD ,
  dw::framework::REPLAY
}
 

Functions

uint32_t dw::framework::ChannelTraceHashId (const char *id)
 
void dw::framework::ChannelTraceProcess (dw::core::span< ChannelTraceProcessParam > traces)
 

Class Documentation

◆ dw::framework::ChannelPacketFingerprint

struct dw::framework::ChannelPacketFingerprint
Class Members
uint32_t bufferID
uint32_t channelID
uint32_t getID

◆ dw::framework::ChannelTracePoint

struct dw::framework::ChannelTracePoint
Collaboration diagram for dw::framework::ChannelTracePoint:
Class Members
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
Class Members
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.