Ignore:
Timestamp:
Jul 14, 2010, 3:35:28 PM (9 years ago)
Author:
ksherdy
Message:

Fix case for void * parser_timer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/template.c

    r480 r494  
    1414#include "xmldecl.c"
    1515
    16 #if (defined(BUFFER_PROFILING) || defined(CODE_CLOCKER))
    17   #include "../lib/perflib/perfsec.h"
    18 #endif
     16#include "../lib/perflib/perfsec.h"
    1917
    2018#ifdef BUFFER_PROFILING
    21   BOM_Table * parser_timer;
    22 #endif
    23 
    24 #ifdef CODE_CLOCKER
     19        BOM_Table * parser_timer;
     20
     21#elif CODE_CLOCKER
    2522        #define NUM_EVENTS 1
    2623        int Events[NUM_EVENTS] = {PAPI_TOT_CYC};
     
    2926        int cal_size = 20;
    3027        CC * parser_timer = new CC(Events,NUM_EVENTS,cal_size);
     28#else
     29        void * parser_timer;
    3130#endif
    3231
Note: See TracChangeset for help on using the changeset viewer.