buffy_autoconc.cc File Reference
#include "buffy.h"
#include "../../base/algo/repetition_vector.h"
Functions | |
static SDFactor * | findOutputActor (TimedSDFgraph *g, RepetitionVector repVec) |
static SDFtime | getMaxExecTime (TimedSDFgraph *g) |
static void | printDefinitions (TimedSDFgraph *g, ostream &out, unsigned long long stackSz, unsigned long long hashSz, unsigned long long repCntOutputActor) |
static void | printMiscFunctions (ostream &out) |
static void | printState (ostream &out) |
static void | printStack (ostream &out) |
static void | printHash (ostream &out) |
static void | printSdfHeader (TimedSDFgraph *g, ostream &out, CString &outputActor) |
static void | printExecSdfGraph (TimedSDFgraph *g, ostream &out, CString &outputActor) |
static void | printSdf (TimedSDFgraph *g, ostream &out, CString &outputActor) |
static void | printMain (ostream &out) |
void | outputSDFasStateSpaceThroughputModel (TimedSDFgraph *g, ostream &out, unsigned long long stackSz, unsigned long long hashSz) |
Function Documentation
static SDFactor* findOutputActor | ( | TimedSDFgraph * | g, | |
RepetitionVector | repVec | |||
) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), and SDFcomponent::getId().
Referenced by outputSDFasStateSpaceThroughputModel().
static SDFtime getMaxExecTime | ( | TimedSDFgraph * | g | ) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), and TimedSDFactor::getExecutionTime().
Referenced by printDefinitions().
void outputSDFasStateSpaceThroughputModel | ( | TimedSDFgraph * | g, | |
ostream & | out, | |||
unsigned long long | stackSz, | |||
unsigned long long | hashSz | |||
) |
outputSDFasStateSpaceThroughputModel () Output the SDF graph as a buffy model to find the maximal throughput for unconstrained buffer sizes and using auto-concurrency.
References FSMSADF::computeRepetitionVector(), findOutputActor(), SDFcomponent::getId(), SDFcomponent::getName(), outputActor, printDefinitions(), printHash(), printMain(), printMiscFunctions(), printSdf(), printStack(), and printState().
Referenced by printSDFG().
static void printDefinitions | ( | TimedSDFgraph * | g, | |
ostream & | out, | |||
unsigned long long | stackSz, | |||
unsigned long long | hashSz, | |||
unsigned long long | repCntOutputActor | |||
) | [static] |
References getMaxExecTime(), SDFgraph::nrActors(), and SDFgraph::nrChannels().
Referenced by outputSDFasStateSpaceThroughputModel().
static void printExecSdfGraph | ( | TimedSDFgraph * | g, | |
ostream & | out, | |||
CString & | outputActor | |||
) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), SDFport::getChannel(), TimedSDFactor::getExecutionTime(), SDFcomponent::getId(), SDFchannel::getInitialTokens(), SDFcomponent::getName(), SDFport::getRate(), SDFport::getType(), SDFactor::portsBegin(), and SDFactor::portsEnd().
Referenced by printSdf().
static void printHash | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasStateSpaceThroughputModel().
static void printMain | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasStateSpaceThroughputModel().
static void printMiscFunctions | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasStateSpaceThroughputModel().
static void printSdf | ( | TimedSDFgraph * | g, | |
ostream & | out, | |||
CString & | outputActor | |||
) | [static] |
static void printSdfHeader | ( | TimedSDFgraph * | g, | |
ostream & | out, | |||
CString & | outputActor | |||
) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), SDFcomponent::getId(), and SDFcomponent::getName().
static void printStack | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasStateSpaceThroughputModel().
static void printState | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasStateSpaceThroughputModel().