Skip to content

Commit 1b6dd3c

Browse files
sim642jerhard
authored andcommitted
Update option printstats -> dbg.timing.enabled
Due to goblint/analyzer#844.
1 parent 0a0774e commit 1b6dd3c

16 files changed

+46
-22
lines changed

gobpie-demos/chrony/chrony-4.2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@
5757
"inlines": false
5858
}
5959
},
60-
"printstats": true,
60+
"dbg": {
61+
"timing": {
62+
"enabled": true
63+
}
64+
},
6165
"warn": {
6266
"assert": false,
6367
"behavior": false,

gobpie-demos/silver-searcher/the_silver_searcher.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@
4242
"inlines": false
4343
}
4444
},
45-
"printstats": true,
45+
"dbg": {
46+
"timing": {
47+
"enabled": true
48+
}
49+
},
4650
"warn": {
4751
"assert": false,
4852
"behavior": false,

gobpie-demos/smtprc/smtprc-fuel.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858
"inlines": false
5959
}
6060
},
61-
"printstats": true,
61+
"dbg": {
62+
"timing": {
63+
"enabled": true
64+
}
65+
},
6266
"warn": {
6367
"assert": false,
6468
"behavior": false,

gobpie-demos/smtprc/smtprc.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858
"inlines": false
5959
}
6060
},
61-
"printstats": true,
61+
"dbg": {
62+
"timing": {
63+
"enabled": true
64+
}
65+
},
6266
"warn": {
6367
"assert": false,
6468
"behavior": false,

index/conf/zstd-race-baseline.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@
7171
"inlines": false
7272
}
7373
},
74-
"printstats": true,
74+
"dbg": {
75+
"timing": {
76+
"enabled": true
77+
}
78+
},
7579
"warn": {
7680
"assert": false,
7781
"behavior": false,

index/conf/zstd-race-incrpostsolver.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@
6464
"inlines": false
6565
}
6666
},
67-
"printstats": true,
67+
"dbg": {
68+
"timing": {
69+
"enabled": true
70+
}
71+
},
6872
"warn": {
6973
"assert": false,
7074
"behavior": false,

juliet/juliet_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def check_path(filepath):
7474
# '_good' or '_bad' determined by input parameter 'mode'
7575
def goblint_cmd(filepath, filename, mode):
7676
func = re.sub('a?\.c$', mode, filename) # File ending is cut and replaced by mode
77-
cmd = goblint_path + ' ' + filepath + ' ' + testsupport_files + ' -I ' + testsupport_path + ' --sets "mainfun[+]" ' + func + ' --enable dbg.debug --enable printstats'
77+
cmd = goblint_path + ' ' + filepath + ' ' + testsupport_files + ' -I ' + testsupport_path + ' --sets "mainfun[+]" ' + func + ' --enable dbg.debug --enable dbg.timing.enabled'
7878
print(filename + ' -- ' + mode[1:] + ' ', end='\r')
7979
process = subprocess.run(cmd, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
8080
#title = '#####################\n' + mode.upper() + '\n#####################\n\n'

update_bench.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def proc_linux_res(resultfile, url, filename)
242242
outfile = $testresults + File.basename(filename,".c") + ".#{aname}.txt"
243243
starttime = Time.now
244244
#Add --sets cilout /dev/null to ignore CIL output.
245-
cmd = "#{goblint} --set dbg.timeout #{timeout} #{aparam} #{filename} #{p.params} --enable allglobs --enable printstats 1>#{outfile} 2>&1"
245+
cmd = "#{goblint} --set dbg.timeout #{timeout} #{aparam} #{filename} #{p.params} --enable allglobs --enable dbg.timing.enabled 1>#{outfile} 2>&1"
246246
system(cmd)
247247
status = $?.exitstatus
248248
endtime = Time.now

update_bench_incremental.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def analyze_project(p, save)
269269
outfile = $testresults + resname + ".#{aname}.txt"
270270
starttime = Time.now
271271
#Add --sets cilout /dev/null to ignore CIL output.
272-
cmd = "#{$goblint} --conf #{$goblint_conf} -v --set dbg.timeout #{$timeout} #{aparam} #{filename} #{p.params} --enable allglobs --enable printstats --set result json-messages 1>#{outfile} 2>&1"
272+
cmd = "#{$goblint} --conf #{$goblint_conf} -v --set dbg.timeout #{$timeout} #{aparam} #{filename} #{p.params} --enable allglobs --enable dbg.timing.enabled --set result json-messages 1>#{outfile} 2>&1"
273273
system(cmd)
274274
status = $?.exitstatus
275275
endtime = Time.now

update_bench_traces.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def proc_linux_res(resultfile, url, filename)
256256
precfile = $testresults + File.basename(filename,".c") + ".#{aname}.prec"
257257
starttime = Time.now
258258
#Add --sets cilout /dev/null to ignore CIL output.
259-
cmd = "#{goblint} --conf #{goblint_conf} --set dbg.timeout #{timeout} #{aparam} #{filename} #{p.params} --enable allglobs --enable printstats --enable dbg.debug -v --sets exp.priv-prec-dump #{precfile} 1>#{outfile} 2>&1"
259+
cmd = "#{goblint} --conf #{goblint_conf} --set dbg.timeout #{timeout} #{aparam} #{filename} #{p.params} --enable allglobs --enable dbg.timing.enabled --enable dbg.debug -v --sets exp.priv-prec-dump #{precfile} 1>#{outfile} 2>&1"
260260
system(cmd)
261261
status = $?.exitstatus
262262
endtime = Time.now

0 commit comments

Comments
 (0)