diff options
author | leochanj105 <leochanj@live.unc.edu> | 2020-10-20 21:55:11 -0400 |
---|---|---|
committer | leochanj105 <leochanj@live.unc.edu> | 2020-10-20 21:55:11 -0400 |
commit | e2d933df44b7b387b41c8c7805393ad3857c4448 (patch) | |
tree | 35cbeee7b13ff92e3cb09e2bef5128a558ec39f1 /dis/Pointer/pointer.c | |
parent | a32f220f06cc463e5b56e7fa0b1b1334d94d08f3 (diff) | |
parent | e2b50015cebdfba68699abd6e8575e38230f5a78 (diff) |
Merge branch 'sd-vbs' of ssh://rtsrv.cs.unc.edu/public/mc2-scripts-and-benchmarks into sd-vbs
Diffstat (limited to 'dis/Pointer/pointer.c')
-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)); |