MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / stop

Method stop

src/svgfill/src/arrange_polygons.cpp:2907–2913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2905 : start_it(start_it) {}
2906
2907 void stop() {
2908 if (start_it) {
2909 auto end = std::chrono::high_resolution_clock::now();
2910 auto duration = std::chrono::duration<double, std::milli>(end - start_it.value()->second).count();
2911 std::cerr << "Timing for " << start_it.value()->first << ": " << duration << " ms" << std::endl;
2912 }
2913 }
2914
2915 private:
2916 std::optional<std::map<std::string, std::chrono::high_resolution_clock::time_point>::const_iterator> start_it;

Callers 1

arrange_cgal_polygonsFunction · 0.45

Calls 2

countMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected