Changeset 155


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

More performance instrumentation.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r153 r155  
    11CC= g++ $(CFLAGS)
    2 CFLAGS= -O3 -g
     2CFLAGS= -O3
    33OS = $(shell uname)
    44ICONV_FLAGS=
     
    1414                src/bitplex.h src/bitplex.c src/xmlmodel.h src/xmlmodel.c\
    1515                src/bytelex.h src/charsets/ASCII_EBCDIC.h
    16         $(CC) -o markup_stats markup_stats.cxx -march=pentium4 $(PAPI)
     16        $(CC) -o markup_stats markup_stats.cxx -march=pentium4 $(PAPI) -DCALC_AVG
     17       
    1718
    1819markup_stats_64:        markup_stats.cxx src/byteplex.h src/multiliteral.h src/engine.h\
     
    2021                lib/lib_simd.h lib/sse_simd.h src/xmldecl.h src/xmldecl.c\
    2122                src/bytelex.h src/charsets/ASCII_EBCDIC.h
    22         $(CC) -o markup_stats_64 markup_stats.cxx -march=nocona -m64 $(PAPI64)
     23        $(CC) -o markup_stats_64 markup_stats.cxx -march=nocona -m64 $(PAPI) -DCALC_AVG
    2324
    2425markup_stats_omp:       markup_stats.cxx src/byteplex.h src/multiliteral.h src/engine.h\
  • 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);
  • 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);
  • trunk/src/engine.c

    r154 r155  
    641641
    642642#if (not defined(OMISSION)) or ((OMISSION != END_TAG_MATCHING)  and (OMISSION != NAME_LOOKUP))
    643 printf("WF_EndTag\n");
    644643        char * start_elem_name = model_info->symbol_table->Get_UTF8_name(nameID);
    645644        int lgth = model_info->symbol_table->Get_UTF8_lgth(nameID);
Note: See TracChangeset for help on using the changeset viewer.