Skip to content

Commit 23b9dd3

Browse files
committed
Print solver
1 parent 7a7e645 commit 23b9dd3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scripts/data/ganak.sqlite

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
DROP TABLE IF EXISTS data;
22
CREATE TABLE data (
3+
solver STRING NOT NULL,
34
dirname STRING NOT NULL,
45
fname STRING NOT NULL,
56

scripts/data/get_data_ganak.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def find_mem_out(fname):
461461

462462
with open("mydata.csv", "w") as out:
463463
cols = "dirname,fname,"
464-
cols += "ganak_time,ganak_mem_MB,ganak_call,page_faults,signal,ganak_ver,conflicts,decisionsK,compsK,primal_density,primal_edge_var_ratio,td_width,td_time,arjun_time,backboneT,backwardT,indepsz,optindepsz,origprojsz,new_nvars,unknsz,cache_del_time,cache_miss_rate,bdd_called,sat_called,sat_rst,rst,cubes_orig,cubes_final,mem_out,gates_extended,gates_extend_t,padoa_extended,padoa_extend_t"
464+
cols += "solver,ganak_time,ganak_mem_MB,ganak_call,page_faults,signal,ganak_ver,conflicts,decisionsK,compsK,primal_density,primal_edge_var_ratio,td_width,td_time,arjun_time,backboneT,backwardT,indepsz,optindepsz,origprojsz,new_nvars,unknsz,cache_del_time,cache_miss_rate,bdd_called,sat_called,sat_rst,rst,cubes_orig,cubes_final,mem_out,gates_extended,gates_extend_t,padoa_extended,padoa_extend_t"
465465
out.write(cols+"\n")
466466
for _, f in files.items():
467467
toprint = ""
@@ -477,6 +477,8 @@ def find_mem_out(fname):
477477
print("timeout not parsed for f: ", f)
478478
exit(-1)
479479

480+
toprint += "%s," % f["solver"]
481+
480482
#timeout_t, timeout_mem, timeout_call
481483
if f["timeout_t"] == None:
482484
toprint += ",,,,,"

0 commit comments

Comments
 (0)