sdf/output/buffer_throughput/buffy.cc File Reference
#include "buffy.h"#include "../../base/algo/repetition_vector.h"
Functions | |
| static void | printMinimalChannelSzStep (TimedSDFgraph *g, ostream &out) |
| static void | printMaximumChannelSz (TimedSDFgraph *g, ostream &out) |
| static uint | getUbDistributionSz (TimedSDFgraph *g) |
| static void | printMinimalChannelSz (TimedSDFgraph *g, ostream &out) |
| static uint | getLbDistributionSz (TimedSDFgraph *g) |
| static unsigned long long | getLbOutputInterval (TimedSDFgraph *g) |
| static void | printDefinitions (TimedSDFgraph *g, ostream &out, unsigned long long stackSz, unsigned long long hashSz, unsigned long long depStackSz) |
| static void | printMiscFunctions (ostream &out) |
| static void | printState (ostream &out) |
| static void | printStack (ostream &out) |
| static void | printHash (ostream &out) |
| static void | printDependencies (ostream &out) |
| static void | printSdfHeader (TimedSDFgraph *g, ostream &out, CString &outputActor) |
| static void | printAnalyzePeriodicPhase (TimedSDFgraph *g, ostream &out, CString &outputActor) |
| static void | printAnalyzeDeadlock (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 | printDistribution (ostream &out) |
| static void | printMain (ostream &out, bool paretoSpace) |
| void | outputSDFasBuffyModel (TimedSDFgraph *g, ostream &out, CString &outputActor, unsigned long long stackSz, unsigned long long hashSz, unsigned long long depStackSz) |
| void | outputSDFasBuffyModelThroughput (TimedSDFgraph *g, ostream &out, CString &outputActor, unsigned long long stackSz, unsigned long long hashSz, unsigned long long depStackSz) |
Function Documentation
| static uint getLbDistributionSz | ( | TimedSDFgraph * | g | ) | [static] |
References c, SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), gcd(), SDFchannel::getDstPort(), SDFchannel::getInitialTokens(), SDFport::getRate(), and SDFchannel::getSrcPort().
Referenced by printDefinitions().

| static unsigned long long getLbOutputInterval | ( | TimedSDFgraph * | g | ) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), and TimedSDFactor::getExecutionTime().
Referenced by printDefinitions().

| static uint getUbDistributionSz | ( | TimedSDFgraph * | g | ) | [static] |
References c, SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), FSMSADF::computeRepetitionVector(), gcd(), SDFport::getActor(), SDFchannel::getDstPort(), SDFcomponent::getId(), SDFchannel::getInitialTokens(), SDFport::getRate(), and SDFchannel::getSrcPort().
Referenced by printDefinitions().

| void outputSDFasBuffyModel | ( | TimedSDFgraph * | g, | |
| ostream & | out, | |||
| CString & | output_actor, | |||
| unsigned long long | stackSz, | |||
| unsigned long long | hashSz, | |||
| unsigned long long | depStackSz | |||
| ) |
outputSDfasBuffyModel () Output the SDF graph as a buffy model.
References printDefinitions(), printDependencies(), printDistribution(), printHash(), printMain(), printMiscFunctions(), printSdf(), printStack(), and printState().
Referenced by printSDFG().

| void outputSDFasBuffyModelThroughput | ( | TimedSDFgraph * | g, | |
| ostream & | out, | |||
| CString & | output_actor, | |||
| unsigned long long | stackSz, | |||
| unsigned long long | hashSz, | |||
| unsigned long long | depStackSz | |||
| ) |
outputSDfasBuffyModelThroughput () Output the SDF graph as a buffy model to find the maximal throughput for a given distribution size.
References printDefinitions(), printDependencies(), printDistribution(), printHash(), printMain(), printMiscFunctions(), printSdf(), printStack(), and printState().
Referenced by printSDFG().

| static void printAnalyzeDeadlock | ( | TimedSDFgraph * | g, | |
| ostream & | out, | |||
| CString & | outputActor | |||
| ) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), SDFport::getActor(), SDFport::getChannel(), SDFcomponent::getId(), SDFport::getRate(), SDFport::getType(), SDFchannel::oppositePort(), SDFactor::portsBegin(), and SDFactor::portsEnd().
Referenced by printSdf().

| static void printAnalyzePeriodicPhase | ( | TimedSDFgraph * | g, | |
| ostream & | out, | |||
| CString & | outputActor | |||
| ) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), SDFport::getActor(), SDFport::getChannel(), TimedSDFactor::getExecutionTime(), SDFcomponent::getId(), SDFcomponent::getName(), SDFport::getRate(), SDFport::getType(), SDFchannel::oppositePort(), SDFactor::portsBegin(), and SDFactor::portsEnd().
Referenced by printSdf().

| static void printDefinitions | ( | TimedSDFgraph * | g, | |
| ostream & | out, | |||
| unsigned long long | stackSz, | |||
| unsigned long long | hashSz, | |||
| unsigned long long | depStackSz | |||
| ) | [static] |
References getLbDistributionSz(), getLbOutputInterval(), getUbDistributionSz(), SDFgraph::nrActors(), SDFgraph::nrChannels(), printMaximumChannelSz(), printMinimalChannelSz(), and printMinimalChannelSzStep().
Referenced by outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().

| static void printDependencies | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().
| static void printDistribution | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().
| 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 outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().
| static void printMain | ( | ostream & | out, | |
| bool | paretoSpace | |||
| ) | [static] |
Referenced by outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().
| static void printMaximumChannelSz | ( | TimedSDFgraph * | g, | |
| ostream & | out | |||
| ) | [static] |
References c, SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), FSMSADF::computeRepetitionVector(), gcd(), SDFport::getActor(), SDFchannel::getDstPort(), SDFcomponent::getId(), SDFchannel::getInitialTokens(), SDFport::getRate(), and SDFchannel::getSrcPort().
Referenced by printDefinitions().

| static void printMinimalChannelSz | ( | TimedSDFgraph * | g, | |
| ostream & | out | |||
| ) | [static] |
References c, SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), gcd(), SDFchannel::getDstPort(), SDFchannel::getInitialTokens(), SDFport::getRate(), and SDFchannel::getSrcPort().
Referenced by printDefinitions().

| static void printMinimalChannelSzStep | ( | TimedSDFgraph * | g, | |
| ostream & | out | |||
| ) | [static] |
References c, SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), gcd(), SDFchannel::getDstPort(), SDFport::getRate(), and SDFchannel::getSrcPort().
Referenced by printDefinitions().

| static void printMiscFunctions | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().
| static void printSdf | ( | TimedSDFgraph * | g, | |
| ostream & | out, | |||
| CString & | outputActor | |||
| ) | [static] |
References printAnalyzeDeadlock(), printAnalyzePeriodicPhase(), printExecSdfGraph(), and printSdfHeader().
Referenced by outputSDFasBuffyModel(), outputSDFasBuffyModelThroughput(), and outputSDFasStateSpaceThroughputModel().

| static void printSdfHeader | ( | TimedSDFgraph * | g, | |
| ostream & | out, | |||
| CString & | outputActor | |||
| ) | [static] |
References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), SDFcomponent::getId(), and SDFcomponent::getName().
Referenced by printSdf().

| static void printStack | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().
| static void printState | ( | ostream & | out | ) | [static] |
Referenced by outputSDFasBuffyModel(), and outputSDFasBuffyModelThroughput().

