Changeset 508 for proto/u16u8


Ignore:
Timestamp:
Jul 15, 2010, 6:00:06 AM (9 years ago)
Author:
cameron
Message:

Makefiles for compiling python bitstream code to C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/u16u8/src/u16u8.c

    r501 r508  
    1414
    1515
    16 #include "../lib/perflib/perfsec.h"
     16// Profiling
     17#if (defined(BUFFER_PROFILING) || defined(CODE_CLOCKER))
     18  #include "../lib/perflib/perfsec.h"
     19#endif
    1720
    1821#ifdef BUFFER_PROFILING
    19         BOM_Table * transcode_timer;
    20 
    21 #elif CODE_CLOCKER
     22BOM_Table * transcode_timer;
     23#endif
     24
     25#ifdef CODE_CLOCKER
    2226        #define NUM_EVENTS 1
    2327        int Events[NUM_EVENTS] = {PAPI_TOT_CYC};
     
    2529        //int Events[NUM_EVENTS] = {PAPI_TOT_CYC, PAPI_BR_MSP};
    2630        int cal_size = 20;
    27         CC * transcode_timer = new CC(Events,NUM_EVENTS,cal_size);
    28 #else
    29         void * transcode_timer;
     31        CC * parser_timer = new CC(Events,NUM_EVENTS,cal_size);
    3032#endif
     33
    3134/*===========================================================================*/
    3235/* UErrorCode */
     
    636639        PERF_SEC_DUMP(transcode_timer);
    637640
    638         PERF_SEC_DESTROY(transcode_timer);
    639 
    640641        fclose(outfile);
    641642
Note: See TracChangeset for help on using the changeset viewer.