Changeset 155 for trunk/PerfTest


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

More performance instrumentation.

Location:
trunk/PerfTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/PerfTest/expat_markup_stats/expat_markup_stats.c

    r145 r155  
    142142       
    143143        #ifdef PAPI
    144                 #define NUM_EVENTS 2
    145                 int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     144                #define NUM_EVENTS 1
     145//              int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     146//              int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_L1_DCM};
     147                int Events[NUM_EVENTS] = {PAPI_L2_DCM};
    146148                int cal_size = 1000;
    147149                code_clocker = new CC(Events,NUM_EVENTS,cal_size);
  • trunk/PerfTest/xerces_markup_stats/xerces_markup_stats.cpp

    r150 r155  
    106106        // Parse the file
    107107                #ifdef PAPI
    108                         #define NUM_EVENTS 2
    109                         int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     108                        #define NUM_EVENTS 1
     109//                      int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     110//                      int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_L1_DCM};
     111                        int Events[NUM_EVENTS] = {PAPI_L2_DCM};
    110112                        int cal_size = 100;
    111113                        c = new CC(Events,NUM_EVENTS,cal_size);
Note: See TracChangeset for help on using the changeset viewer.