CGAL有内置的时间器

    1. #include <CGAL/Timer.h>
    2. Timer t;
    3. t.start();
    4. //...算法运行
    5. std::cout << t.time() << " sec." << std::endl; //秒