summaryrefslogtreecommitdiffstats
path: root/dis/Pointer/pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'dis/Pointer/pointer.c')
-rw-r--r--dis/Pointer/pointer.c9
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));