Change the name in the profiler of Do_intersect_3 static filter

Do_intersect_3 has a template member function. If one use
CGAL_PRETTY_FUNCTION as function name, then the compiler gives the full
name of the function, with its parameters.
This commit is contained in:
Laurent Rineau 2011-12-06 11:51:09 +00:00
parent befa7c8e08
commit 8e44b6acde
1 changed files with 4 additions and 2 deletions

View File

@ -82,7 +82,8 @@ public:
result_type
operator()(const Segment_3 &s, const Bbox_3& b) const
{
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Do_intersect_3", tmp);
CGAL_BRANCH_PROFILER_3(std::string("semi-static failures/attempts/calls to : ") +
std::string(CGAL_PRETTY_FUNCTION), tmp);
Get_approx<Point_3> get_approx; // Identity functor for all points
// but lazy points
@ -287,7 +288,8 @@ public:
result_type
operator()(const Ray_3 &r, const Bbox_3& b) const
{
CGAL_BRANCH_PROFILER_3("semi-static failures/attempts/calls to : Do_intersect_3", tmp);
CGAL_BRANCH_PROFILER_3(std::string("semi-static failures/attempts/calls to : ") +
std::string(CGAL_PRETTY_FUNCTION), tmp);
Get_approx<Point_3> get_approx; // Identity functor for all points
// but lazy points.