From 796f459bbce4952363048d80c3ff29cfbf197072 Mon Sep 17 00:00:00 2001 From: couturie Date: Sun, 10 Mar 2019 11:18:36 +0100 Subject: [PATCH] new --- IDA_new/run_long2.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 IDA_new/run_long2.py diff --git a/IDA_new/run_long2.py b/IDA_new/run_long2.py new file mode 100644 index 0000000..2003e02 --- /dev/null +++ b/IDA_new/run_long2.py @@ -0,0 +1,21 @@ +#python3 run_long2.py > exe_long2.txt + + +import subprocess +import re + + +print("#size \t t \t n \t time") + +for i in range(14,30,2): + len=(2**i) + + subprocess.check_output("head -c "+str(len)+" file"+str(len),shell=True) + for n in range(8,32,8): + t=int(n/4+1) + result=subprocess.check_output("./ida_gf65_paper1 t"+str(t)+" n"+str(n)+" ffile"+str(len),shell=True) + res=result.decode() + print(str(len)+"\t"+str(t)+"\t "+str(n)+" \t"+res) + + + -- 2.39.5