InterconnectDeliverEvent Class Reference

#include <interconnect.hh>

List of all members.

Public Member Functions

 InterconnectDeliverEvent (Interconnect *_interconnect, MemReqPtr &_req, int _toID, int _fromID)
void process ()
virtual const char * description ()

Public Attributes

Interconnectinterconnect
MemReqPtr req
int toID
int fromID


Detailed Description

This class creates a deliver event that is compatible with the M5 event queue. It is used by the Interconnect classes to create a time delay from a request is granted access untill it is delivered.

This event is for use in interconnects that do _not_ use delivery queue. Such classes should use InterconnectDeliverQueueEvent instead.

See also:
InterconnectDeliverQueueEvent

Interconnect

SplitTransBus

Crossbar

Butterfly

IdealInterconnect

Author:
Magnus Jahre

Definition at line 460 of file interconnect.hh.


Constructor & Destructor Documentation

InterconnectDeliverEvent::InterconnectDeliverEvent ( Interconnect _interconnect,
MemReqPtr &  _req,
int  _toID,
int  _fromID 
) [inline]

Constructs a delivery event for interconnects that do not use a delivery queue.

Parameters:
_interconnect A pointer to the interconnect that created the event
_req The request to deliver
_toID The interface ID the request will be delivered to
_fromID The interface ID the request was sent from

Definition at line 480 of file interconnect.hh.

References fromID, interconnect, req, and toID.


Member Function Documentation

const char * InterconnectDeliverEvent::description (  )  [virtual]

Returns:
A textual description of the event

Definition at line 329 of file interconnect.cc.

void InterconnectDeliverEvent::process (  ) 

This method is called when the event is serviced and calls the deliver method in an Interconnect class. Afterwards, it deletes itself.

See also:
Interconnect

Definition at line 323 of file interconnect.cc.

References Interconnect::deliver(), fromID, interconnect, and toID.


The documentation for this class was generated from the following files:
Generated on Tue Jun 5 12:55:20 2007 for M5InterconnectExtensions by  doxygen 1.4.7