Changeset 501 for proto/u16u8/template.c


Ignore:
Timestamp:
Jul 14, 2010, 9:15:07 PM (9 years ago)
Author:
ksherdy
Message:

Update svn:exterals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/u16u8/template.c

    r475 r501  
    1515
    1616// Profiling
    17 #define BUFFER_PROFILING
    18 #include "../lib/perflib/perfsec.h"
     17#if (defined(BUFFER_PROFILING) || defined(CODE_CLOCKER))
     18  #include "../lib/perflib/perfsec.h"
     19#endif
    1920
    2021#ifdef BUFFER_PROFILING
    2122BOM_Table * transcode_timer;
     23#endif
     24
     25#ifdef CODE_CLOCKER
     26        #define NUM_EVENTS 1
     27        int Events[NUM_EVENTS] = {PAPI_TOT_CYC};
     28        //int Events[NUM_EVENTS] = {PAPI_L2_DCM};
     29        //int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
     30        int cal_size = 20;
     31        CC * parser_timer = new CC(Events,NUM_EVENTS,cal_size);
    2232#endif
    2333
Note: See TracChangeset for help on using the changeset viewer.