TraceChannel Class Reference

#include <tracechannel.h>

Inheritance diagram for TraceChannel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual int getId ()=0
virtual int getPortId (const char *name)=0
virtual int getInstructionId (const char *name)=0
virtual void send (trace_event_t &event)=0
virtual trace_event_t next ()=0
virtual void sendQuit ()
virtual void sendExec (int operId)
virtual void sendRead (int portId, int size, int commChannelId)
virtual void sendWrite (int portId, int size, int commChannelId)

Member Function Documentation

virtual int TraceChannel::getId  )  [pure virtual]
 

Get this TraceChannel's id.

Returns:
The id.

Implemented in ChannelMapping.

virtual int TraceChannel::getPortId const char *  name  )  [pure virtual]
 

Get the id associated with the named port.

Parameters:
name The name of the port.
Returns:
The port id or -1 if no port is associated with the name.

Implemented in ChannelMapping.

virtual int TraceChannel::getInstructionId const char *  name  )  [pure virtual]
 

Get the id associated with the named instruction.

Parameters:
name The name of the instruction.
Returns:
The instruciton id or -1 if no instruction is assiciated with this name.

Implemented in ChannelMapping.

virtual void TraceChannel::send trace_event_t event  )  [pure virtual]
 

Send a trace event. This function may block if the trace channel is full.

Parameters:
event The event to be sent.

Implemented in FileChannelMapping, MsgQMUXChannelMapping, and SharedMemChannelMapping.

virtual trace_event_t TraceChannel::next  )  [pure virtual]
 

Get the next trace event. This function may block if there are no traces events currently avaliable.

Returns:
The next trace event.

Implemented in FileChannelMapping, MsgQMUXChannelMapping, and SharedMemChannelMapping.

void TraceChannel::sendQuit  )  [virtual]
 

Send the quit event. This function may block if the channel is full.

void TraceChannel::sendExec int  operId  )  [virtual]
 

Send an execution event with the specified instruction id. This function may block if the channel is full.

Parameters:
operId The instruction id.

void TraceChannel::sendRead int  portId,
int  size,
int  commChannelId
[virtual]
 

Send a read event of the specified size on the specified port. This function may block if the channel is full.

Parameters:
portId The id of the port on which the read event will occur.
size The size of the read.

void TraceChannel::sendWrite int  portId,
int  size,
int  commChannelId
[virtual]
 

Send a write event of the sepecified size on the specified port. This function may block if the channel is full.

Parameters:
portId The id of the port on which the write event will occur.
size The size of the write.


The documentation for this class was generated from the following files:
Generated on Wed Apr 5 21:05:27 2006 for Sesame by  doxygen 1.4.6