Dataflow Software Stack
032db78
Master Thesis of Mathijs Saey at the VUB
|
dot generator More...
Functions | |
def | generateIdentifier |
Generate a unique idea for a chunk/key pair. More... | |
def | generateInstIdentifier |
Generate a unique identifier for an instruction. More... | |
def | generateTupleIdentifier |
Generate a unique identifier for a chunk, key pair. More... | |
def | processSink |
def | processOp |
def | processConst |
def | processSplit |
def | processContChange |
def | processContRestore |
def | processSwitch |
def | processStop |
def | getAttributes |
def | addInst |
def | destMapLinks |
def | destListLinks |
def | addContextChangeLinks |
def | addSplitLinks |
def | addSwitchLinks |
def | addLinks |
def | dotHeader |
def | dotFooter |
def | dotString |
Generate a dot string from the instruction memory. More... | |
def | dotFile |
Write the dot string to a file. More... | |
def | dot |
Convert the instruction memory to dot, save it and run dot on this file. More... | |
Variables | |
tuple | log = logging.getLogger(__name__) |
dictionary | attributes |
dot generator
This module defines a tool that allows us to generate graphs from the instruction memory.
def dot.generateIdentifier | ( | chunk, | |
key | |||
) |
Generate a unique idea for a chunk/key pair.
def dot.generateInstIdentifier | ( | inst | ) |
Generate a unique identifier for an instruction.
def dot.generateTupleIdentifier | ( | tup | ) |
Generate a unique identifier for a chunk, key pair.
def dot.processSink | ( | inst | ) |
def dot.processOp | ( | inst | ) |
def dot.processConst | ( | inst | ) |
def dot.processSplit | ( | inst | ) |
def dot.processContChange | ( | inst | ) |
def dot.processContRestore | ( | inst | ) |
def dot.processSwitch | ( | inst | ) |
def dot.processStop | ( | inst | ) |
def dot.getAttributes | ( | inst | ) |
def dot.addInst | ( | buffer, | |
inst | |||
) |
def dot.destMapLinks | ( | buffer, | |
inst | |||
) |
def dot.destListLinks | ( | buffer, | |
inst | |||
) |
def dot.addContextChangeLinks | ( | buffer, | |
inst | |||
) |
def dot.addSplitLinks | ( | buffer, | |
inst | |||
) |
def dot.addSwitchLinks | ( | buffer, | |
inst | |||
) |
def dot.addLinks | ( | buffer, | |
inst | |||
) |
def dot.dotHeader | ( | buffer | ) |
def dot.dotFooter | ( | buffer | ) |
def dot.dotString | ( | ) |
Generate a dot string from the instruction memory.
def dot.dotFile | ( | path | ) |
Write the dot string to a file.
def dot.dot | ( | dotpath = "dot" , |
|
path = "dis.dot" , |
|||
format = "png" , |
|||
output = "" , |
|||
other = [] |
|||
) |
Convert the instruction memory to dot, save it and run dot on this file.
This function should be call with keyword arguments. The default arguments will cause the following behaviour:
dotpath | The path of the dot executable, in case it's not in your PATH |
path | The location where the dot file will be stored. |
format | The output format of the graph dot creates from the dot file. |
output | The location where we store the output of dot. Leaving this blank will pass the -O option. The -O option let's dot choose the path. |
other | Any other options you want to pass to doth. These options should be passed as a list of strings. |
tuple dot.log = logging.getLogger(__name__) |
dictionary dot.attributes |