diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-20 13:35:52 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-20 13:41:49 -0400 |
| commit | 03412b9f841f140b9b7410a1890298e3ac2835db (patch) | |
| tree | 8417ed7fa548a571ab88f139da666787766740f3 /dis/Pointer | |
| parent | 47ced4e96bbb782b9e780e8f2cfc637b2c21ff44 (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/Pointer')
| -rw-r--r-- | dis/Pointer/pointer.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dis/Pointer/pointer.c b/dis/Pointer/pointer.c index d97f276..0325c64 100644 --- a/dis/Pointer/pointer.c +++ b/dis/Pointer/pointer.c | |||
| @@ -146,10 +146,11 @@ int main(int argc, char **argv) { | |||
| 146 | 146 | ||
| 147 | endTime = time(NULL); | 147 | endTime = time(NULL); |
| 148 | 148 | ||
| 149 | volatile int _stop_optimizer = thread[l].hops + l; | 149 | volatile int _stop_optimizer = 0; |
| 150 | /*for (l=0; l<n; l++){ | 150 | for (l=0; l<n; l++){ |
| 151 | fprintf(stdout, "%lu hops on thread %d\n", thread[l].hops, l); | 151 | _stop_optimizer += thread[l].hops + l; |
| 152 | }*/ | 152 | // fprintf(stdout, "%lu hops on thread %d\n", thread[l].hops, l); |
| 153 | } | ||
| 153 | 154 | ||
| 154 | fprintf(stderr, "time for pointer stressmark = %f seconds.\n", | 155 | fprintf(stderr, "time for pointer stressmark = %f seconds.\n", |
| 155 | difftime(endTime, startTime)); | 156 | difftime(endTime, startTime)); |
