Changeset 114 for trunk


Ignore:
Timestamp:
Apr 28, 2008, 4:43:38 PM (11 years ago)
Author:
ksherdy
Message:

Comment out CODE_CLOCKER code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bitlex.c

    r111 r114  
    1212
    1313#ifdef CODE_CLOCKING
     14/*
    1415#include "../codeclocker/clocker/code_clocker_session.h"
    1516Code_Clocker * transpose_clocker;
     
    1718Code_Clocker * MarkupStreams_clocker;
    1819Code_Clocker * char_validation_clocker;
     20*/
    1921#endif
    2022
     
    3941Lexer_Interface * Lexer<ASCII>::LexerFactory(Entity_Info * e, LexicalStreamSet *l) {
    4042#ifdef CODE_CLOCKING
     43/*
    4144        WS_Control_clocker = register_Code_Clocker("WS", "WhiteSpace/Control\n");
    4245        MarkupStreams_clocker = register_Code_Clocker("bitlex", "Markup streams\n");
    4346        char_validation_clocker = register_Code_Clocker("charcheck", "Character validation\n");
     47*/
    4448#endif
    4549        if (!(e->has_encoding_decl)) {
     
    863867        int err_pos;
    864868#ifdef CODE_CLOCKING
     869/*
    865870        start_Interval(WS_Control_clocker);
     871*/
    866872#endif
    867873        buffer_blocks = (buffer_limit_pos + BLOCKSIZE - 1)/BLOCKSIZE;
     
    880886        }
    881887#ifdef CODE_CLOCKING
     888/*
    882889        end_Interval(WS_Control_clocker, BUFFER_SIZE);
     890*/
    883891#endif
    884892#ifdef CODE_CLOCKING
     893/*
    885894        start_Interval(MarkupStreams_clocker);
     895*/
    886896#endif
    887897        Do_MarkupStreams();
     
    890900#endif
    891901#ifdef CODE_CLOCKING
     902/*
    892903        end_Interval(MarkupStreams_clocker, BUFFER_SIZE);
     904*/
    893905#endif
    894906#ifdef CODE_CLOCKING
     907/*
    895908        start_Interval(char_validation_clocker);
     909*/
    896910#endif
    897911        Do_CharsetValidation();
     
    904918        }
    905919#ifdef CODE_CLOCKING
     920/*
    906921        end_Interval(char_validation_clocker, buffer_blocks * BLOCKSIZE);
     922*/
    907923#endif
    908924        if (buffer_units < BUFFER_SIZE) {
Note: See TracChangeset for help on using the changeset viewer.