disable the wall clock timer as it is not portable code and we can't release at this time
This commit is contained in:
parent
798b0731e5
commit
d1dbf89961
3 changed files with 18 additions and 1 deletions
|
@ -34,9 +34,13 @@
|
|||
#include <mapnik/utils.hpp>
|
||||
#include <mapnik/projection.hpp>
|
||||
#include <mapnik/scale_denominator.hpp>
|
||||
|
||||
/*
|
||||
#ifdef MAPNIK_DEBUG
|
||||
#include <mapnik/wall_clock_timer.hpp>
|
||||
#endif
|
||||
*/
|
||||
|
||||
//stl
|
||||
#include <vector>
|
||||
|
||||
|
@ -70,9 +74,11 @@ namespace mapnik
|
|||
|
||||
void apply()
|
||||
{
|
||||
/*
|
||||
#ifdef MAPNIK_DEBUG
|
||||
mapnik::wall_clock_progress_timer t(std::clog, "map rendering took: ");
|
||||
#endif
|
||||
*/
|
||||
Processor & p = static_cast<Processor&>(*this);
|
||||
p.start_map_processing(m_);
|
||||
|
||||
|
@ -106,9 +112,11 @@ namespace mapnik
|
|||
void apply_to_layer(Layer const& lay, Processor & p,
|
||||
projection const& proj0,double scale_denom)
|
||||
{
|
||||
/*
|
||||
#ifdef MAPNIK_DEBUG
|
||||
wall_clock_progress_timer timer(clog, "end layer rendering: ");
|
||||
wall_clock_progress_timer timer(clog, "end layer rendering: ");
|
||||
#endif
|
||||
*/
|
||||
p.start_layer_processing(lay);
|
||||
boost::shared_ptr<datasource> ds=lay.datasource();
|
||||
if (ds)
|
||||
|
|
|
@ -20,9 +20,11 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
#ifndef MAPNIK_WALL_CLOCK_TIMER_INCLUDED
|
||||
#define MAPNIK_WALL_CLOCK_TIMER_INCLUDED
|
||||
|
||||
/*
|
||||
#include <sys/time.h>
|
||||
|
||||
namespace mapnik {
|
||||
|
@ -88,4 +90,6 @@ namespace mapnik {
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
*/
|
||||
#endif // MAPNIK_WALL_CLOCK_TIMER_INCLUDED
|
||||
|
|
|
@ -26,9 +26,11 @@
|
|||
#include <mapnik/global.hpp>
|
||||
#include <mapnik/ptree_helpers.hpp>
|
||||
|
||||
/*
|
||||
#ifdef MAPNIK_DEBUG
|
||||
#include <mapnik/wall_clock_timer.hpp>
|
||||
#endif
|
||||
*/
|
||||
|
||||
#include "connection_manager.hpp"
|
||||
#include "postgis.hpp"
|
||||
|
@ -450,9 +452,12 @@ boost::shared_ptr<IResultSet> postgis_datasource::get_resultset(boost::shared_pt
|
|||
|
||||
featureset_ptr postgis_datasource::features(const query& q) const
|
||||
{
|
||||
|
||||
/*
|
||||
#ifdef MAPNIK_DEBUG
|
||||
mapnik::wall_clock_progress_timer timer(clog, "end feature query: ");
|
||||
#endif
|
||||
*/
|
||||
|
||||
Envelope<double> const& box = q.get_bbox();
|
||||
double scale_denom = q.scale_denominator();
|
||||
|
|
Loading…
Add table
Reference in a new issue