buffy_autoconc.cc File Reference

#include "buffy.h"
#include "../../base/algo/repetition_vector.h"
Include dependency graph for buffy_autoconc.cc:

Functions

static SDFactorfindOutputActor (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().

Here is the call graph for this function:

static SDFtime getMaxExecTime ( TimedSDFgraph g  )  [static]

References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), and TimedSDFactor::getExecutionTime().

Referenced by printDefinitions().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

static void printHash ( ostream &  out  )  [static]
static void printMain ( ostream &  out  )  [static]
static void printMiscFunctions ( ostream &  out  )  [static]
static void printSdf ( TimedSDFgraph g,
ostream &  out,
CString outputActor 
) [static]

References printExecSdfGraph(), and printSdfHeader().

Here is the call graph for this function:

static void printSdfHeader ( TimedSDFgraph g,
ostream &  out,
CString outputActor 
) [static]

References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), SDFcomponent::getId(), and SDFcomponent::getName().

Here is the call graph for this function:

static void printStack ( ostream &  out  )  [static]
static void printState ( ostream &  out  )  [static]