Command to create a control flow in OpenPAT

What is the command to create a control flow in OpenPAT for a particular Program.. I tried the command below: ./OpenPAT.pl -t control_flow -o matrix ./benchmarks/matrix.c

It would appear that OpenPat

It would appear that OpenPat uses Graphviz for visualization, but that is our only connection. If you have questions about OpenPat, you should contact someone involved with that project or post to an OpenPat forum or mailing list.

  In Terminal i am

 

In Terminal i am giving:

dot -Tps control_flow.dot -o control_flow.ps

The issue is for each program is giving me the same control flow graph..

 

 

 

 

 

Are the dot files different?

Are the dot files different?

Sir  i am compling a progarm

Sir  i am compling a progarm and giving the command dot -Tps control_flow.dot -o control_flow.ps so for each progarm its giving same .dot file and if am deleting the .dot file and compiling a new program and then giving same command it says control_flow.dot file can't Open..

No its not creating new .dot

No its not creating new .dot file for each progarm.. for the very first program which i executed it created a .dot file and if i am deleting that is giving .dot file doesn't exist..

 

pls help

This is not a problem with

This is not a problem with Graphviz. You will have to contact the OpenPAT people or read the manual to figure out what is going wrong. We don't know anything about OpenPAT. If the .dot file is the same or missing, dot will give you the same drawing or will report an error. You need to figure out how to create a new .dot file using the OpenPAT software.

Recent comments