InterconnectDeliverQueueEvent Class Reference

#include <interconnect.hh>

List of all members.

Public Member Functions

 InterconnectDeliverQueueEvent (Interconnect *_interconnect)
void process ()
virtual const char * description ()

Public Attributes

Interconnectinterconnect


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 InterconnectDeliverEvent instead.

See also:
InterconnectDeliverEvent

Interconnect

SplitTransBus

Crossbar

Butterfly

IdealInterconnect

Author:
Magnus Jahre

Definition at line 525 of file interconnect.hh.


Constructor & Destructor Documentation

InterconnectDeliverQueueEvent::InterconnectDeliverQueueEvent ( Interconnect _interconnect  )  [inline]

Constructs a delivery event for interconnects that uses a delivery queue.

Parameters:
_interconnect A pointer to the interconnect that created the event

Definition at line 539 of file interconnect.hh.

References interconnect.


Member Function Documentation

virtual const char* InterconnectDeliverQueueEvent::description (  )  [inline, virtual]

Returns:
A textual description of the event

Definition at line 577 of file interconnect.hh.

void InterconnectDeliverQueueEvent::process (  )  [inline]

This method is called when the event is serviced. First, it removes itself from the delivery queue. Then it calls the deliver method in an Interconnect subclass.

Only the tick argument to deliver is provided when this method is serviced. The memory request provided is NULL and the from and to IDs are set to -1.

See also:
Interconnect

Definition at line 555 of file interconnect.hh.

References Interconnect::deliver(), Interconnect::deliverEvents, and interconnect.


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