Changeset 2484


Ignore:
Timestamp:
Oct 18, 2012, 7:57:33 PM (7 years ago)
Author:
ksherdy
Message:

Added to performance script.

Location:
proto/gml2svg/C/xerces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/gml2svg/C/xerces/Makefile

    r2480 r2484  
    33
    44PAPI_DIR=/usr/local/papi
    5 CC_EVENT=0
     5#CC_EVENT=0
    66
    77ARCH=$(shell getconf LONG_BIT)
     
    2323XERCES_2_8_I=$(XERCES_2_8_BASE)/include/
    2424
    25 #XERCES_3_1_1_BASE=/home/ksherdy/SW/xerces-c-3.1.1-x86-linux-gcc-3.4/
    26 XERCES_3_1_1_BASE=/home/ksherdy/SW/xerces-c-3.1.1/src
    27 #XERCES_3_1_1_BASE=/home/ksherdy/Temp/xerces-c-3.1.1-x86_64-linux-gcc-3.4
     25XERCES_3_1_1_BASE=/home/ksherdy/Temp/xerces-c-3.1.1/src
    2826XERCES_3_1_1_L=$(XERCES_3_1_1_BASE)/.libs
    2927XERCES_3_1_1_l=xerces-c-3.1
    3028XERCES_3_1_1_I=$(XERCES_3_1_1_BASE)
    3129     
    32 XERCES_ICX_BASE=/home/ksherdy/Temp/src/xerces/src
     30XERCES_ICX_BASE=/home/ksherdy/Temp/icxml/xerces/src
    3331XERCES_ICX_L=$(XERCES_ICX_BASE)/.libs/
    3432XERCES_ICX_l=xerces-c
    3533XERCES_ICX_I=$(XERCES_ICX_BASE)/
    3634
    37 XERCES_ICX_PIPELINE_BASE=/home/ksherdy/Temp/branches/src-pipeline/xerces/src
     35XERCES_ICX_PIPELINE_BASE=/home/ksherdy/Temp/picxml/src-pipeline/xerces/src
    3836XERCES_ICX_PIPELINE_L=$(XERCES_ICX_PIPELINE_BASE)/.libs/
    3937XERCES_ICX_PIPELINE_l=xerces-c
     
    5553xerces_icx_pipeline: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    5654        $(CC) -o gml2svg_icx_pipeline gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_ICX_PIPELINE_I) -L$(XERCES_ICX_PIPELINE_L) -l$(XERCES_ICX_PIPELINE_l) $(FLAGS) -lpthread -mstackrealign $(PAPI) #-DSYSTEM_TIME
    57         echo export LD_LIBRARY_PATH=$(XERCES_ICX_PIPELINE_L)
    5855
    5956clean:
  • proto/gml2svg/C/xerces/run_perf.sh

    r2482 r2484  
    22#
    33# File:    gml2svg.cpp
    4 #
    5 # Desc:          gml2svg PAPI / CodeClocker perf script
    64#
    75# Author:  Ken Herdy
     
    108
    119GML_DIR="../../data/layer/gml"
    12 SVG_DIR_PREFIX="svg"
    13 SVG_DIR=""
     10
     11TARGET="xerces_3_1_1"
     12APPLICATION="gml2svg_3_1_1"
     13LD_LIBRARY_PATH="/home/ksherdy/Temp/xerces-c-3.1.1/src/.libs/"
     14SVG_DIR="svg_3_1_1"
     15
     16#TARGET=xerces_icx
     17#APPLICATION=gml2svg_icx
     18#LD_LIBRARY_PATH=/home/ksherdy/Temp/icxml/xerces/src
     19#SVGDIR=svg_icx
     20
     21#TARGET=xerces_icx_pipeline
     22#APPLICATION=gml2svg_icx_pipeline
     23#LD_LIBRARY_PATH=/home/ksherdy/Temp/picxml/src-pipeline/xerces/src/.libs/
     24#SVGDIR=svg_icx_pipeline
    1425
    1526PAPI_EVENTS=`grep -v -e '^#\|^$' papi_events.txt`
    1627
    17 ICX_SUFFIX="_icx"
    18 ICX_PIPELINE_SUFFIX="_icx_pipeline"
    19 
    20 SVG_DIR=$SVG_DIR_PREFIX$ICX_PIPELINE_SUFFIX
     28echo
     29echo "Start perf test."
     30echo
    2131
    2232for papi_event in $PAPI_EVENTS;
    2333do
    24 
    25         # CC_EVENT=$papi_event #`echo "$1" | sed 's/PAPI/CC/g' <<< "$papi_event"`
    26 
    2734        #compile
    2835        CC_EVENT=$papi_event
    2936        export CC_EVENT
    3037
    31 #//     export DU=$CC_EVENT
    32 
    3338        #execute
    34         make xerces_icx_pipeline
    35         export LD_LIBRARY_PATH=/home/ksherdy/Temp/branches/src-pipeline/xerces/src/.libs/
    36         ./gml2svg_icx_pipeline $GML_DIR $SVG_DIR
     39        make $TARGET
     40        export $LD_LIBRARY_PATH
     41        ./$APPLICATION $GML_DIR $SVG_DIR
    3742
    3843done
     44
     45echo
     46echo "Perf test complete."
    3947
    4048
     
    4452
    4553
    46 
    47 
    48 
Note: See TracChangeset for help on using the changeset viewer.