Changeset 2503 for proto/gml2svg


Ignore:
Timestamp:
Oct 19, 2012, 5:52:39 PM (7 years ago)
Author:
ksherdy
Message:

Updated Makefile, gml2svg.cpp for perfstat.

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

Legend:

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

    r2493 r2503  
    33
    44PAPI_DIR=/usr/local/papi
    5 CC_EVENT=0
     5#CC_EVENT=0
    66
    77ARCH=$(shell getconf LONG_BIT)
    88ifeq ($(ARCH),32)
    99    AFLAGS=-march=pentium4
    10     PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -DCC_EVENT=$(CC_EVENT) -Ilib/cclib -Ilib/perflib
     10    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -DCC_EVENT=$(CC_EVENT) -Ilib/cclib
    1111else
    1212    AFLAGS=-march=nocona -m64
    13     PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -DCC_EVENT=$(CC_EVENT) -Ilib/cclib -Ilib/perflib
     13    PAPI = -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -DCC_EVENT=$(CC_EVENT) -Ilib/cclib
    1414endif
    1515
     
    3838XERCES_ICX_PIPELINE_I=$(XERCES_ICX_PIPELINE_BASE)/
    3939
    40 FLAGS=-DMEMCPY_IO #-DGML2SVG_DEBUG  #-DTARE_TIME #-DDEFAULT_STYLE_EXT -DWORLD2SCREEN -DSYSTEM_TIME
     40FLAGS=-DMEMCPY_IO #-DTARE_TIME #-DGML2SVG_DEBUG  #-DTARE_TIME #-DDEFAULT_STYLE_EXT -DWORLD2SCREEN -DSYSTEM_TIME
    4141xerces_2_8: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    42         $(CC) -o gml2svg_2_8 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_2_8_I) -L$(XERCES_2_8_L) -l$(XERCES_2_8_l) $(FLAGS) $(PAPI)
     42        $(CC) -o gml2svg_2_8 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_2_8_I) -L$(XERCES_2_8_L) -l$(XERCES_2_8_l) $(FLAGS) -Ilib/perflib $(PAPI)
    4343        echo export LD_LIBRARY_PATH=$(XERCES_2_8_L)
    4444
    4545xerces_3_1_1: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    46         $(CC) -o gml2svg_3_1_1 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_3_1_1_I) -L$(XERCES_3_1_1_L) -l$(XERCES_3_1_1_l) $(FLAGS) $(PAPI) #-DSYSTEM_TIME
     46        $(CC) -o gml2svg_3_1_1 gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_3_1_1_I) -L$(XERCES_3_1_1_L) -l$(XERCES_3_1_1_l) $(FLAGS) -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    4747        echo export LD_LIBRARY_PATH=$(XERCES_3_1_1_L)
    4848
    4949xerces_icx: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    50         $(CC) -o gml2svg_icx gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_ICX_I) -L$(XERCES_ICX_L) -l$(XERCES_ICX_l) $(FLAGS) -mstackrealign $(PAPI) #-DSYSTEM_TIME
     50        $(CC) -o gml2svg_icx gml2svg.cpp gml2svg_handler.cpp $(SRC) $(AFLAGS) -I$(LIBC) -I$(XERCES_ICX_I) -L$(XERCES_ICX_L) -l$(XERCES_ICX_l) $(FLAGS) -mstackrealign -Ilib/perflib $(PAPI) #-DSYSTEM_TIME
    5151        echo export LD_LIBRARY_PATH=$(XERCES_ICX_L)
    5252
    5353xerces_icx_pipeline: gml2svg_handler.hpp gml2svg_handler.cpp gml2svg.cpp
    54         $(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
     54        $(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 -Ilib/perflib #$(PAPI) #-DSYSTEM_TIME
    5555        echo export LD_LIBRARY_PATH=$(XERCES_ICX_PIPELINE_L)
    5656
  • proto/gml2svg/C/xerces/gml2svg.cpp

    r2486 r2503  
    1111#include <xercesc/sax2/DefaultHandler.hpp>
    1212#include <xercesc/util/XMLString.hpp>
     13
    1314#include <perfsec.h>
    14 
    1515#include "gml2svg_handler.hpp"
    1616#include <gml2svg/vancouver_constants.h>
     
    115115        }
    116116
    117         timer->set_cmd(cmd_line);
     117//      timer->set_cmd(cmd_line);
    118118
    119119        int layer_count = FEATURE_LAYER_COUNT; /* ignore point geometries */
Note: See TracChangeset for help on using the changeset viewer.