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/src/u16u8.c

    r475 r501  
    1414
    1515
    16 // Profiling
    17 #define BUFFER_PROFILING
    1816#include "../lib/perflib/perfsec.h"
    1917
    2018#ifdef BUFFER_PROFILING
    21 BOM_Table * transcode_timer;
     19        BOM_Table * transcode_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 * transcode_timer = new CC(Events,NUM_EVENTS,cal_size);
     28#else
     29        void * transcode_timer;
    2230#endif
    23 
    2431/*===========================================================================*/
    2532/* UErrorCode */
     
    629636        PERF_SEC_DUMP(transcode_timer);
    630637
     638        PERF_SEC_DESTROY(transcode_timer);
     639
    631640        fclose(outfile);
    632641
Note: See TracChangeset for help on using the changeset viewer.