changeset 54:9d0668e6453f perf_counters

counters working ...sort of
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Fri, 03 Feb 2012 17:32:57 +0100
parents 8035f05442c0
children 772bb0384074
files SSR_Counter_Recording.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line diff
     1.1 --- a/SSR_Counter_Recording.c	Tue Jan 31 18:30:40 2012 +0100
     1.2 +++ b/SSR_Counter_Recording.c	Fri Feb 03 17:32:57 2012 +0100
     1.3 @@ -13,11 +13,9 @@
     1.4          return;
     1.5      
     1.6      //FIXME: find more reliable way to separate master and slave VPs
     1.7 -    if (pr->procrID < 2) //filters master VPs
     1.8 +    if (pr->procrID < NUM_CORES || pr->procrID > 32) //filters master VPs & shutdown
     1.9          return;
    1.10 -    if (pr->numTimesScheduled < 1) //filters shutdown VP
    1.11 -        return;
    1.12 -    
    1.13 +
    1.14      SSRSemEnv *semanticEnv = _VMSMasterEnv->semanticEnv;
    1.15              
    1.16      CounterEvent e;