PlatformGraph Class Reference
#include <graph.h>
Public Member Functions | |
PlatformGraph (ArchComponent &c) | |
virtual | ~PlatformGraph () |
TilesIter | tilesBegin () |
TilesCIter | tilesBegin () const |
TilesIter | tilesEnd () |
TilesCIter | tilesEnd () const |
CSize | nrTiles () const |
Tiles | getTiles () const |
Tile * | getTile (const CId id) |
Tile * | getTile (const CString &name) |
Tile * | createTile (const CString &name) |
ConnectionsIter | connectionsBegin () |
ConnectionsCIter | connectionsBegin () const |
ConnectionsIter | connectionsEnd () |
ConnectionsCIter | connectionsEnd () const |
Connections | getConnections (Tile *srcTile, Tile *dstTile) const |
Connection * | getConnection (Tile *srcTile, Tile *dstTile) const |
Connection * | getConnection (const CId id) |
Connection * | getConnection (const CString &name) |
Connection * | createConnection (const CString &name) |
Private Attributes | |
Tiles | tiles |
Connections | connections |
Detailed Description
PlatformGraph Container for platform graph.
Constructor & Destructor Documentation
PlatformGraph::PlatformGraph | ( | ArchComponent & | c | ) |
PlatformGraph () Constructor.
PlatformGraph::~PlatformGraph | ( | ) | [virtual] |
~PlatformGraph () Destructor.
References c, connectionsBegin(), connectionsEnd(), tilesBegin(), and tilesEnd().
Member Function Documentation
ConnectionsIter PlatformGraph::connectionsBegin | ( | ) | [inline] |
References connections.
Referenced by SDFconvertToHTML::convertPlatformGraph(), SDFconvertToHTML::convertPlatformMapping(), createMappingNode(), createPlatformGraphNode(), BindingAwareSDFG::extractChannelMapping(), getConnection(), SDFconvertToHTML::outputPlatformGraphAsDot(), SDFconvertToHTML::outputPlatformMappingAsDot(), and ~PlatformGraph().
ConnectionsCIter PlatformGraph::connectionsBegin | ( | ) | const [inline] |
References connections.
ConnectionsIter PlatformGraph::connectionsEnd | ( | ) | [inline] |
References connections.
Referenced by SDFconvertToHTML::convertPlatformGraph(), SDFconvertToHTML::convertPlatformMapping(), createMappingNode(), BindingAwareSDFG::extractChannelMapping(), getConnection(), SDFconvertToHTML::outputPlatformGraphAsDot(), SDFconvertToHTML::outputPlatformMappingAsDot(), and ~PlatformGraph().
ConnectionsCIter PlatformGraph::connectionsEnd | ( | ) | const [inline] |
References connections.
Connection * PlatformGraph::createConnection | ( | const CString & | name | ) |
createConnection () The adds a connection to the platform graph and returns a pointer to the newly constructed connection.
References c, component, and connections.
Referenced by constructPlatformGraph().
createTile () The adds a tile to the platform graph and returns a pointer to the newly constructed tile.
References component, and tiles.
Referenced by constructPlatformGraph().
Connection * PlatformGraph::getConnection | ( | const CString & | name | ) |
getConnection () The function returns a pointer to a connection with the given name or NULL if the connection does not exist.
References c, connectionsBegin(), connectionsEnd(), and ArchComponent::getName().
Connection * PlatformGraph::getConnection | ( | const CId | id | ) |
getConnection () The function returns a pointer to a connection with the given id or NULL if the connection does not exist.
References connections.
Connection * PlatformGraph::getConnection | ( | Tile * | srcTile, | |
Tile * | dstTile | |||
) | const |
getConnection () The function returns the first connection it finds from the source to the destination tile.
References c, Connection::getDstTile(), Tile::outConnectionsBegin(), and Tile::outConnectionsEnd().
Referenced by LoadBalanceBinding::computeLoadOfChannelToConnectionBinding(), BindingAwareSDFG::modelBindingInMPFlow(), BindingAwareSDFG::modelBindingInNSoCFlow(), setMappingPlatformGraph(), and LoadBalanceBinding::sortTilesOnCommunicationOverhead().
Connections PlatformGraph::getConnections | ( | Tile * | srcTile, | |
Tile * | dstTile | |||
) | const |
getConnections () The function returns a list of all connections from the source to the destination tile.
References c, connections, Connection::getDstTile(), Tile::outConnectionsBegin(), and Tile::outConnectionsEnd().
Referenced by LoadBalanceBinding::allocateConnectionResources(), and LoadBalanceBinding::releaseConnectionResources().
getTile () The function returns a pointer to a tile with the given name or NULL if the tile does not exist.
References ArchComponent::getName(), tilesBegin(), and tilesEnd().
getTile () The function returns a pointer to a tile with the given id or NULL if the tile does not exist.
References ArchComponent::getId(), tilesBegin(), and tilesEnd().
Referenced by NoCMapping::addUsageNode(), LoadBalanceBinding::bindSDFGtoTiles(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::computeScheduleExtensions(), constructPlatformGraph(), LoadBalanceBinding::constructStaticOrderSchedules(), BindingAwareSDFG::modelBindingInMPFlow(), BindingAwareSDFG::modelBindingInNSoCFlow(), LoadBalanceBinding::reconstructStaticOrderSchedules(), setMappingPlatformGraph(), setUsagePlatformGraph(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceMessagesPeriodic(), and SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceMessagesTransient().
Tiles PlatformGraph::getTiles | ( | ) | const [inline] |
References tiles.
Referenced by LoadBalanceBinding::bindActorsToTiles(), and LoadBalanceBinding::moveActorBinding().
CSize PlatformGraph::nrTiles | ( | ) | const [inline] |
References tiles.
Referenced by LoadBalanceBinding::bindSDFGtoTiles(), BindingAwareSDFG::extractActorMapping(), LoadBalanceBinding::initTileLoad(), LoadBalanceBinding::minimizeTimeSlices(), LoadBalanceBinding::optimizeTimeSlices(), LoadBalanceBinding::sortTilesOnCommunicationOverhead(), LoadBalanceBinding::sortTilesOnLoad(), and NoCMapping::updateBandwidthAllocations().
TilesIter PlatformGraph::tilesBegin | ( | ) | [inline] |
References tiles.
Referenced by LoadBalanceBinding::allocateTDMAtimeSlices(), LoadBalanceBinding::constructStaticOrderSchedules(), SDFconvertToHTML::convertPlatformGraph(), SDFconvertToHTML::convertPlatformMapping(), SDFconvertToHTML::convertPlatformUsage(), createMappingNode(), createPlatformGraphNode(), createSystemUsageNode(), BindingAwareSDFG::extractActorMapping(), getTile(), Binding::minimizeStaticOrderSchedules(), LoadBalanceBinding::minimizeTimeSlices(), LoadBalanceBinding::optimizeTimeSlices(), SDFconvertToHTML::outputPlatformGraphAsDot(), SDFconvertToHTML::outputPlatformMappingAsDot(), outputSystemUsage(), LoadBalanceBinding::reconstructStaticOrderSchedules(), LoadBalanceBinding::releaseTimeSlices(), LoadBalanceBinding::reserveTimeSlices(), NoCMapping::updateBandwidthAllocations(), and ~PlatformGraph().
TilesCIter PlatformGraph::tilesBegin | ( | ) | const [inline] |
References tiles.
TilesCIter PlatformGraph::tilesEnd | ( | ) | const [inline] |
References tiles.
TilesIter PlatformGraph::tilesEnd | ( | ) | [inline] |
References tiles.
Referenced by LoadBalanceBinding::allocateTDMAtimeSlices(), LoadBalanceBinding::constructStaticOrderSchedules(), SDFconvertToHTML::convertPlatformGraph(), SDFconvertToHTML::convertPlatformMapping(), SDFconvertToHTML::convertPlatformUsage(), createMappingNode(), createPlatformGraphNode(), createSystemUsageNode(), BindingAwareSDFG::extractActorMapping(), getTile(), Binding::minimizeStaticOrderSchedules(), LoadBalanceBinding::minimizeTimeSlices(), LoadBalanceBinding::optimizeTimeSlices(), SDFconvertToHTML::outputPlatformGraphAsDot(), SDFconvertToHTML::outputPlatformMappingAsDot(), outputSystemUsage(), LoadBalanceBinding::reconstructStaticOrderSchedules(), LoadBalanceBinding::releaseTimeSlices(), LoadBalanceBinding::reserveTimeSlices(), NoCMapping::updateBandwidthAllocations(), and ~PlatformGraph().
Member Data Documentation
Connections PlatformGraph::connections [private] |
Referenced by connectionsBegin(), connectionsEnd(), createConnection(), getConnection(), and getConnections().
Tiles PlatformGraph::tiles [private] |
Referenced by createTile(), getTiles(), nrTiles(), tilesBegin(), and tilesEnd().
The documentation for this class was generated from the following files: