Changeset 2201 for proto


Ignore:
Timestamp:
May 31, 2012, 11:11:03 AM (7 years ago)
Author:
ksherdy
Message:

Updated template buffer constants. TagMatcher?.hpp throws errors otherwise. Deprecate TagMatcher?. Consumes ~25% execution time on core i7.

Location:
proto/parabix2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template.cpp

    r2195 r2201  
    4141
    4242//////////////////////////////////////////////////////////////////////////////////////////
    43 // Buffer Management
     43// Buffer Management // WARNING: Do Not update #defines. Results in TagMatcher errors.
    4444//////////////////////////////////////////////////////////////////////////////////////////
    4545#define PADDING_BLOCKS 0
    4646#define PADDING_SIZE (BLOCK_SIZE * PADDING_BLOCKS)
    47 #define COPYBACK_BLOCKS 1
     47#define COPYBACK_BLOCKS 2
    4848#define COPYBACK_SIZE (BLOCK_SIZE * COPYBACK_BLOCKS)
    4949#define LOOKAHEAD_BLOCKS 1
    5050#define LOOKAHEAD_SIZE (BLOCK_SIZE * LOOKAHEAD_BLOCKS)
    51 #define SEGMENT_BLOCKS  3 // WARNING: TagMatcher.hpp causes xmlconf test suite failures for SEGMENT_BLOCKS < 3.
     51#define SEGMENT_BLOCKS  12 // WARNING: TagMatcher.hpp causes xmlconf test suite failures for SEGMENT_BLOCKS < 3.
    5252#define SEGMENT_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
    5353#define BUFFER_SIZE (COPYBACK_SIZE + SEGMENT_SIZE + LOOKAHEAD_SIZE + PADDING_SIZE)
  • proto/parabix2/pablo_template_symbol_table.cpp

    r2195 r2201  
    2323#include <XMLTestSuiteError.h>
    2424
    25 #define SYMBOL_TABLE
     25// #define SYMBOL_TABLE
    2626
    2727#ifdef BUFFER_PROFILING
     
    4343
    4444//////////////////////////////////////////////////////////////////////////////////////////
    45 // Buffer Management
     45// Buffer Management // WARNING: Do Not update #defines. Results in TagMatcher errors.
    4646//////////////////////////////////////////////////////////////////////////////////////////
    4747#define PADDING_BLOCKS 0
    4848#define PADDING_SIZE (BLOCK_SIZE * PADDING_BLOCKS)
    49 #define COPYBACK_BLOCKS 3
     49#define COPYBACK_BLOCKS 2
    5050#define COPYBACK_SIZE (BLOCK_SIZE * COPYBACK_BLOCKS)
    5151#define LOOKAHEAD_BLOCKS 1
    5252#define LOOKAHEAD_SIZE (BLOCK_SIZE * LOOKAHEAD_BLOCKS)
    53 #define SEGMENT_BLOCKS  3       // WARNING: TagMatcher.hpp causes xmlconf test suite failures for SEGMENT_BLOCKS < 3.
     53#define SEGMENT_BLOCKS  12 // WARNING: TagMatcher.hpp causes xmlconf test suite failures for SEGMENT_BLOCKS < 3.
    5454#define SEGMENT_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
    5555#define BUFFER_SIZE (COPYBACK_SIZE + SEGMENT_SIZE + LOOKAHEAD_SIZE + PADDING_SIZE)
Note: See TracChangeset for help on using the changeset viewer.