From 3d24ef57cd0cb21f97945138cf7450e6f2354598 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 31 Dec 2004 10:35:33 +0000 Subject: [PATCH] re-introduced G2P conversion profile for convexhull (was missing from previous patch) git-svn-id: http://svn.osgeo.org/postgis/trunk@1204 b70326c6-7e19-0410-871a-916f4a2858ee --- lwgeom/lwgeom_geos.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lwgeom/lwgeom_geos.c b/lwgeom/lwgeom_geos.c index 3a625aa1d..bcff87e2a 100644 --- a/lwgeom/lwgeom_geos.c +++ b/lwgeom/lwgeom_geos.c @@ -579,7 +579,13 @@ Datum convexhull(PG_FUNCTION_ARGS) //elog(NOTICE,"result: %s", GEOSasText(g3) ) ; GEOSSetSRID(g3, SRID); +#ifdef PROFILE + profstart(PROF_G2P); +#endif lwout = lwgeom_from_geometry(g3, TYPE_NDIMS(geom1->type) > 2); +#ifdef PROFILE + profstop(PROF_G2P); +#endif if (result == NULL) { GEOSdeleteGeometry(g1); -- 2.40.0