Changeset 2557


Ignore:
Timestamp:
Oct 24, 2012, 2:14:28 PM (6 years ago)
Author:
ksherdy
Message:

Removed CODE_CLOCKER reference.

Location:
proto/FIX
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/FIX/fix_template.cpp

    r1466 r2557  
    1717
    1818#ifdef BUFFER_PROFILING
    19         BOM_Table * parser_timer;
    20 
    21 #elif CODE_CLOCKER
    22         #define NUM_EVENTS 1
    23         int Events[NUM_EVENTS] = {PAPI_TOT_CYC};
    24         //int Events[NUM_EVENTS] = {PAPI_L2_DCM};
    25         //int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
    26         int cal_size = 20;
    27         CC * parser_timer = new CC(Events,NUM_EVENTS,cal_size);
     19    BOM_Table * transcode_timer;
     20#elif PAPI
     21                #define PAPI_EVENTS_COUNT 2
     22                int PAPI_EVENTS[PAPI_EVENTS_COUNT] = {PAPI_TOT_CYC, PAPI_BR_MSP};       
     23    CC * transcode_timer;
    2824#else
    29         void * parser_timer;
     25    void * transcode_timer;
    3026#endif
    3127
  • proto/FIX/src/Makefile

    r1313 r2557  
    1212ifeq ($(ARCH),32)
    1313    AFLAGS=-march=pentium4
    14     CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
     14    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
    1515else
    1616    AFLAGS=-march=nocona -m64
    17     CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
     17    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
    1818endif
    1919
Note: See TracChangeset for help on using the changeset viewer.