From d630d94062dc9f8f5128ba4a493fed8e9c493c8a Mon Sep 17 00:00:00 2001
From: maysam zoor <maysam_zoor@hotmail.com>
Date: Tue, 9 Feb 2021 10:46:59 +0100
Subject: [PATCH] adding plan script

---
 modeling/scripts/PLANgraph | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 modeling/scripts/PLANgraph

diff --git a/modeling/scripts/PLANgraph b/modeling/scripts/PLANgraph
new file mode 100644
index 0000000000..923408a8eb
--- /dev/null
+++ b/modeling/scripts/PLANgraph
@@ -0,0 +1,27 @@
+#map 
+set map ./../tmlcode/spec.tmap
+#save grah file name
+set graphml ./../graphG
+#generate graph for specific tmap
+plan generateGraph $map
+#Export graph in Graphml format
+plan exportGraph $graphml
+#Export graph in png format
+plan saveGraph $graphml
+# show all operators id
+plan showAllOp
+#simulation trace
+set sim ./../simulators/c++2/test.xml
+#indicated if the tainting is used or not
+set taint false
+#latency table output destination
+set latXML latOutput.xml
+# run latency analysis between two operators and save results in xml
+plan computeLatencyValues 19 12 $taint $latXML $sim
+#precise row latency analysis output destination
+set staXML staOutput.xml
+#indicated if the row is in the min max table or not
+set minmax false
+set row 0
+# run precise analysis for one row an save the results in xml
+plan rowArrays $row $minmax $staXML
-- 
GitLab