cgal.org
Top
Getting Started
Tutorials
Package Overview
Acknowledging CGAL
CGAL 5.1 - Profiling tools, Hash Map, Union-find, Modifiers
Profiling_tools/Profile_counter.cpp
#define CGAL_PROFILE
#include <CGAL/Profile_counter.h>
int
main()
{
for
(
int
i=0; i<10000; ++i)
{
CGAL_PROFILER
(
"iterations of the for-loop"
);
}
return
0;
}
CGAL::Profile_counter::CGAL_PROFILER
#define CGAL_PROFILER(MSG)
Profiling macro that uses CGAL::Profile_counter.
Definition:
Profile_counter.h:82