Ignore:
Timestamp:
Oct 24, 2012, 1:19:28 PM (7 years ago)
Author:
ksherdy
Message:

Updated templates for new perfsec.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template_minrefs.cpp

    r1761 r2547  
    2424
    2525#ifdef BUFFER_PROFILING
    26         BOM_Table * parser_timer;
    27 
    28 #elif CODE_CLOCKER
    29         #define NUM_EVENTS 1
    30         int Events[NUM_EVENTS] = {PAPI_TOT_CYC};
    31         //int Events[NUM_EVENTS] = {PAPI_L2_DCM};
    32         //int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
    33         int cal_size = 20;
    34         CC * parser_timer = new CC(Events,NUM_EVENTS,cal_size);
     26    BOM_Table * parser_timer;
     27#elif PAPI
     28                #define PAPI_EVENTS_COUNT 2
     29                int PAPI_EVENTS[PAPI_EVENTS_COUNT] = {PAPI_TOT_CYC, PAPI_BR_MSP};       
     30    CC * parser_timer;
    3531#else
    36         void * parser_timer;
     32    void * parser_timer;
    3733#endif
    3834
Note: See TracChangeset for help on using the changeset viewer.