From 091fcd48b1a74b68e13a822878b387dbbbaac515 Mon Sep 17 00:00:00 2001 From: couturie Date: Sun, 10 Mar 2019 10:50:48 +0100 Subject: [PATCH 1/1] new --- IDA_new/run_long.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 IDA_new/run_long.py diff --git a/IDA_new/run_long.py b/IDA_new/run_long.py new file mode 100644 index 0000000..dc92c48 --- /dev/null +++ b/IDA_new/run_long.py @@ -0,0 +1,20 @@ +#python3 run_long.py > exe_long.txt + + +import subprocess +import re + + +print("#size \t t \t n \t time") + +for i in range(14,26,2): + len=(2**i) + + subprocess.check_output("head -c "+str(len)+" file"+str(len),shell=True) + for k in range(4,16,4): + result=subprocess.check_output("./ida_gf65_paper1 t"+str(k)+" n16 ffile"+str(len),shell=True) + res=result.decode() + print(str(len)+"\t"+str(k)+"\t 16 \t"+res) + + + -- 2.39.5