Changeset 155 for trunk/markup_stats.cxx


Ignore:
Timestamp:
May 24, 2008, 6:36:37 AM (11 years ago)
Author:
cameron
Message:

More performance instrumentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/markup_stats.cxx

    r154 r155  
    3434#define NAME_LOOKUP 4
    3535
    36 #define OMISSION END_TAG_MATCHING
     36#define OMISSION NONE
    3737
    3838
     
    4747#define FILE_READING 9
    4848
    49 #define CODE_CLOCKING BUFFER_TOTAL
     49#define CODE_CLOCKING CHARSET_VALIDATION
    5050
    5151#endif
     
    365365
    366366        #ifdef PAPI
    367                 #define NUM_EVENTS 2
    368                 int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     367                #define NUM_EVENTS 1
     368//              int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     369//              int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_L1_DCM};
     370                int Events[NUM_EVENTS] = {PAPI_L2_DCM};
    369371                int cal_size = 1000;
    370372                code_clocker = new CC(Events,NUM_EVENTS,cal_size);
Note: See TracChangeset for help on using the changeset viewer.