diff VMS.h @ 166:aefd87f9d12f

loop graph
author Nina Engelhardt
date Tue, 18 Oct 2011 15:53:04 +0200
parents 395f58384a5c
children 981acd1db6af
line diff
     1.1 --- a/VMS.h	Wed Sep 28 14:58:41 2011 +0200
     1.2 +++ b/VMS.h	Tue Oct 18 15:53:04 2011 +0200
     1.3 @@ -18,6 +18,7 @@
     1.4  #include "vmalloc.h"
     1.5  #include "Counters/Counters.h"
     1.6  #include "dependency.h"
     1.7 +#include "loop.h"
     1.8  
     1.9  #include <pthread.h>
    1.10  #include <sys/time.h>
    1.11 @@ -77,6 +78,7 @@
    1.12  
    1.13  #define MEAS__PERF_COUNTERS
    1.14  #define DETECT_DEPENDENCIES
    1.15 +#define DETECT_LOOP_GRAPH
    1.16  
    1.17  //=========================  Hardware related Constants =====================
    1.18     //This value is the number of hardware threads in the shared memory
    1.19 @@ -280,6 +282,11 @@
    1.20     CounterRecord** counter_history;
    1.21     PrivDynArrayInfo* counter_history_array_info;
    1.22     #endif
    1.23 +   #ifdef DETECT_LOOP_GRAPH
    1.24 +   bulb* loop_graph;
    1.25 +   PrivDynArrayInfo* loop_graph_array_info;
    1.26 +   int loop_counter[NUM_CORES];
    1.27 +   #endif
    1.28   }
    1.29  MasterEnv;
    1.30