Changeset 1721 for proto/SymbolTable/src


Ignore:
Timestamp:
Nov 21, 2011, 4:09:54 PM (8 years ago)
Author:
vla24
Message:

SymbolTable?: completed dictionary implementation and refactored templates

Location:
proto/SymbolTable/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • proto/SymbolTable/src/Makefile

    r1688 r1721  
    77
    88CC= g++ $(CFLAGS)
    9 CFLAGS= $(SSE) -O3 #-g
     9CFLAGS= $(SSE) -O3 -g
    1010SSE=-msse2 #-msse4.1 -DUSE_PTEST #-mssse3 -msse4.1 -msse4.2
    1111SYMTAB_LIB=../symtab
     
    3535
    3636all:
    37         $(CC) $(INCLUDES) -o $(OUTFILE) $(SRCFILE) $(AFLAGS)
     37        $(CC) $(INCLUDES) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) -DUSE_XMLWF
    3838
    3939avx:    $(SRCFILE)
     
    5050
    5151buffer_profiling_perf: $(SRCFILE)
    52         $(CC) $(INCLUDES) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) -DBUFFER_PROFILING  -DPERF_SCRIPT
     52        $(CC) $(INCLUDES) -o $(OUTFILE) $(SRCFILE) $(AFLAGS) -DBUFFER_PROFILING  -DPERF_SCRIPT -DUSE_XMLWF
    5353
    5454asm:  $(SRCFILE)
  • proto/SymbolTable/src/perf_script.py

    r1688 r1721  
    1515        call(['./'+program, testfile_home+testfile], stderr=mes_f)
    1616
    17 def analyze_rslt():     
     17def analyze_rslt():
    1818      mes_f = open('mesfile', 'r')
    1919      results = mes_f.read().split(' ')
  • proto/SymbolTable/src/perf_script_wcd.py

    r1688 r1721  
    66programs = ['wcd']
    77#TODO: Change the testfiles
    8 testfiles = ['dict_bezier.txt']
     8dictionaryfiles = ['test_dictionary.txt']
     9testfiles = ['test_text.txt']
    910
    1011def run_test():     
    1112  mes_f = open('mesfile', 'w')
    1213  for program in programs:
    13     for testfile in testfiles:
     14    for index in range(len(testfiles)):
    1415      for i in range(10):
    15         call(['./'+program, testfile_home+testfile], stderr=mes_f)
     16        call(['./'+program, testfile_home+dictionaryfiles[index], testfile_home+testfiles[index]], stderr=mes_f)
    1617
    1718def analyze_rslt():     
Note: See TracChangeset for help on using the changeset viewer.