#include "sdf3analysis.h"
#include "sdf/sdf.h"
#include "csdf/csdf.h"
Classes | |
struct | _CPair |
struct | _Settings |
Typedefs | |
typedef struct _CPair | CPair |
typedef list< CPair > | CPairs |
typedef CPairs::iterator | CPairsIter |
typedef struct _Settings | Settings |
Functions | |
void | helpMessage (ostream &out) |
CPairs | parseSwitchArgument (CString arguments) |
void | parseCommandLine (int argc, char **argv) |
CNode * | loadApplicationGraphFromFile (CString &file, CString module) |
void | initSettings (int argc, char **argv) |
void | analyzeCSDFG (TimedCSDFgraph *g, CPairs &analyze, ostream &out) |
void | analyzeCSDFG (ostream &out) |
int | main (int argc, char **argv) |
Variables | |
Settings | settings |
Typedef Documentation
typedef CPairs::iterator CPairsIter |
Function Documentation
void analyzeCSDFG | ( | TimedCSDFgraph * | g, | |
CPairs & | analyze, | |||
ostream & | out | |||
) |
analyzeCSDFG () The function analyzes the CSDF graph.
References CSDFstateSpaceBufferAnalysis::analyze(), CSDFstateSpaceThroughputAnalysis::analyze(), c, CSDFgraph::getActor(), CSDFgraph::getChannel(), CSDFcomponent::getName(), CSDFgraph::getRepetitionVector(), CSDFgraph::isConsistent(), minStorageDistributions, _StorageDistributionSet::next, CSDFgraph::nrChannels(), printTimer(), startTimer(), stopTimer(), and _StorageDistributionSet::thr.
Referenced by analyzeCSDFG(), and main().
void analyzeCSDFG | ( | ostream & | out | ) |
analyzeCSDFG () The function analyzes the CSDF graph.
References analyzeCSDFG(), CGetChildNode(), and constructTimedCSDFgraph().
void helpMessage | ( | ostream & | out | ) |
helpMessage () Function prints help message for the tool.
References DOTTED_VERSION, and TOOL.
Referenced by initSettings(), and parseCommandLine().
void initSettings | ( | int | argc, | |
char ** | argv | |||
) |
initSettings () The function initializes the program settings.
References helpMessage(), loadApplicationGraphFromFile(), MODULE, and parseCommandLine().
Referenced by main().
loadApplicationGraphFromFile () The function returns a pointer to an XML data structures contained in the supplied file that describes the SDFG.
References CGetAttribute(), CGetChildNode(), CGetRootNode(), and CParseFile().
Referenced by initSettings(), and parseSettingsFile().
int main | ( | int | argc, | |
char ** | argv | |||
) |
main () It does none of the hard work, but it is very needed...
References analyzeCSDFG(), initSettings(), MaxPlusAnalysis::out, and Settings::outputFile.
void parseCommandLine | ( | int | argc, | |
char ** | argv | |||
) |
parseCommandLine () The function parses the command line arguments and add info to the supplied settings structure.
References helpMessage(), Settings::outputFile, and parseSwitchArgument().
Referenced by initSettings().
parseSwitchArgument () The function parses the string 'arguments' into a sequence of (arg, value) pairs. The syntax as as follows:
pair := key(value) arg := pair,pair,...
Note: value may be a pair itself, but this is not expanded into a set of pairs (i.e. nested pairs are not supported).
References c, _CPair::key, and _CPair::value.
Referenced by parseCommandLine(), printCSDFG(), and printSDFG().
Variable Documentation
settings Program settings.
Referenced by analyzeSDFG(), initSettings(), main(), mapApplicationGraphsToArchitectureGraph(), mapApplicationGraphToArchitectureGraph(), and parseCommandLine().