summaryrefslogtreecommitdiffstats
path: root/dis/Update/update.c
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-20 13:35:52 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-20 13:41:49 -0400
commit03412b9f841f140b9b7410a1890298e3ac2835db (patch)
tree8417ed7fa548a571ab88f139da666787766740f3 /dis/Update/update.c
parent47ced4e96bbb782b9e780e8f2cfc637b2c21ff44 (diff)
TACLe and DIS benchmark fixes
- Use consistent approach to prevent computations from being optimized out in the DIS benchmarks - Don't print results in the DIS benchmarks - Fix a memory corruption in TACLe's "epic" benchmark reflect1() - Fix return codes for all benchmarks - Rename run_baseline.sh to run_bench.sh in preperation for this being the main benchmarking script
Diffstat (limited to 'dis/Update/update.c')
-rw-r--r--dis/Update/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dis/Update/update.c b/dis/Update/update.c
index b7bf2b5..a41f3e1 100644
--- a/dis/Update/update.c
+++ b/dis/Update/update.c
@@ -134,10 +134,10 @@ int main(int argc, char **argv) {
134 endTime = time(NULL); 134 endTime = time(NULL);
135 135
136 volatile int _stop_optimizer = hops; 136 volatile int _stop_optimizer = hops;
137 // fprintf(stdout, "%u hops\n", hops); 137 //fprintf(stdout, "%u hops\n", hops);
138 fprintf(stderr, "time for update stressmark = %f seconds.\n", 138 fprintf(stderr, "time for update stressmark = %f seconds.\n",
139 difftime(endTime, startTime)); 139 difftime(endTime, startTime));
140 free(field); 140 free(field);
141 WRITE_TO_FILE 141 WRITE_TO_FILE
142 return (1); 142 return (0);
143} 143}