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_lsst.cpp

    r2351 r2547  
    2929
    3030#ifdef BUFFER_PROFILING
    31         BOM_Table * parser_timer;
    32 #elif CODE_CLOCKER
    33         //#define NUM_EVENTS 1
    34         //int Events[NUM_EVENTS] = {PAPI_TOT_CYC};
    35         //int Events[NUM_EVENTS] = {PAPI_L2_DCM};
    36         #define NUM_EVENTS 2
    37         int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
    38         int cal_size = 20;
    39         CC * parser_timer = new CC(Events,NUM_EVENTS,cal_size);
     31    BOM_Table * parser_timer;
     32#elif PAPI
     33                #define PAPI_EVENTS_COUNT 2
     34                int PAPI_EVENTS[PAPI_EVENTS_COUNT] = {PAPI_TOT_CYC, PAPI_BR_MSP};       
     35    CC * parser_timer;
    4036#else
    41         void * parser_timer;
     37    void * parser_timer;
    4238#endif
    4339
Note: See TracChangeset for help on using the changeset viewer.