Changeset 1797


Ignore:
Timestamp:
Dec 18, 2011, 11:11:40 PM (7 years ago)
Author:
vla24
Message:

updated wcd_ls template for papi performance test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/SymbolTable/wcd_ls_template.cpp

    r1795 r1797  
    1616#elif CODE_CLOCKER
    1717        #define NUM_EVENTS 1
    18         int Events[NUM_EVENTS] = {PAPI_TOT_CYC};
    19         //int Events[NUM_EVENTS] = {PAPI_L2_DCM};
    20         //int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     18#ifdef L2_PERF
     19        int Events[NUM_EVENTS] = {PAPI_L2_DCM};
     20#elif L1_PERF
     21        int Events[NUM_EVENTS] = {PAPI_L1_DCM};
     22#else
     23        int Events[NUM_EVENTS] = {PAPI_BR_MSP};
     24#endif
    2125        int cal_size = 20;
    2226        CC * parser_timer = new CC(Events,NUM_EVENTS,cal_size);
Note: See TracChangeset for help on using the changeset viewer.