Boost logo

Boost-Commit :

From: mariano.consoni_at_[hidden]
Date: 2008-05-30 16:42:35


Author: mconsoni
Date: 2008-05-30 16:42:35 EDT (Fri, 30 May 2008)
New Revision: 45963
URL: http://svn.boost.org/trac/boost/changeset/45963

Log:

- memory measurements.

Text files modified:
   sandbox/SOC/2008/spacial_indexing/libs/spatial_index/benchmarks/geos_test.cpp | 10 ++++++++++
   sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/Jamfile | 4 +---
   sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/performance_test.cpp | 9 +++++++++
   3 files changed, 20 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2008/spacial_indexing/libs/spatial_index/benchmarks/geos_test.cpp
==============================================================================
--- sandbox/SOC/2008/spacial_indexing/libs/spatial_index/benchmarks/geos_test.cpp (original)
+++ sandbox/SOC/2008/spacial_indexing/libs/spatial_index/benchmarks/geos_test.cpp 2008-05-30 16:42:35 EDT (Fri, 30 May 2008)
@@ -61,6 +61,11 @@
         std::vector<unsigned int> ids;
          std::vector<std::pair<double, double> > points = read_data();
 
+ // -- wait to check memory
+// std::cerr << "check memory --> After Reading Data." << std::endl;
+// sleep(5);
+ // -- wait to check memory
+
         time_t start;
 
         // number of points to find on the search phase
@@ -78,6 +83,11 @@
          }
         std::cerr << "Insertion time: " << time(NULL) - start << " seconds." << std::endl;
 
+ // -- wait to check memory
+// std::cerr << "check memory --> After Building Index." << std::endl;
+// sleep(5);
+ // -- wait to check memory
+
         // search
          std::vector<std::pair<double,double> > search_positions;
          std::vector<unsigned int> search_data;

Modified: sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/Jamfile
==============================================================================
--- sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/Jamfile (original)
+++ sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/Jamfile 2008-05-30 16:42:35 EDT (Fri, 30 May 2008)
@@ -9,11 +9,9 @@
 project
     : requirements
       <include>../../..
- <define>BOOST_ALL_NO_LIB=1
+ #<define>BOOST_ALL_NO_LIB=1
     ;
 
 run simple_test.cpp ;
 run random_test.cpp ;
 run performance_test.cpp ;
-#run test_nothing_n.cpp ;
-#run test_nothing.cpp ;

Modified: sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/performance_test.cpp
==============================================================================
--- sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/performance_test.cpp (original)
+++ sandbox/SOC/2008/spacial_indexing/libs/spatial_index/test/performance_test.cpp 2008-05-30 16:42:35 EDT (Fri, 30 May 2008)
@@ -83,6 +83,10 @@
         std::vector<unsigned int> ids;
          std::vector<std::pair<double, double> > points = read_data();
 
+ // -- wait to check memory
+ std::cerr << "check memory --> After Reading Data." << std::endl;
+ sleep(5);
+ // -- wait to check memory
 
         // start time
         time_t start;
@@ -116,6 +120,11 @@
            q->bulk_insert(b,e, points);
         std::cerr << "Insertion time: " << time(NULL) - start << " seconds." << std::endl;
 
+ // -- wait to check memory
+ std::cerr << "check memory --> After Building Index." << std::endl;
+ sleep(5);
+ // -- wait to check memory
+
         // search
         std::vector<std::pair<double,double> > search_positions;
         std::vector<unsigned int> search_data;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk