Files
cgal/Timer/examples/Timer/Profile_histogram_counter.cpp
T
Sylvain Pion ffe1e4ec1c More redundant filename removal.
The only survivors should be under Arrangement_2/examples
(some Doxygen syntax is used, so I don't touch them).
2007-03-10 15:22:41 +00:00

14 lines
213 B
C++

#define CGAL_PROFILE
#include <CGAL/Profile_counter.h>
int main()
{
for (int i=0; i<10; ++i)
{
for (int j=0; j<i; ++j)
CGAL_HISTOGRAM_PROFILER("[iterations of the for-loop]", j);
}
return 0;
}