From 99509688af79b80086caae76c526c9753c2a19a4 Mon Sep 17 00:00:00 2001 From: Florian Reibold Date: Fri, 13 Dec 2024 11:29:01 +0100 Subject: [PATCH] remove timing output from dynamic scene tutorial --- tutorials/dynamic_scene/dynamic_scene_device.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tutorials/dynamic_scene/dynamic_scene_device.cpp b/tutorials/dynamic_scene/dynamic_scene_device.cpp index 013393ee85..7999c41783 100644 --- a/tutorials/dynamic_scene/dynamic_scene_device.cpp +++ b/tutorials/dynamic_scene/dynamic_scene_device.cpp @@ -319,26 +319,16 @@ extern "C" void device_render (int* pixels, const float time, const ISPCCamera& camera) { - auto start_animate = std::chrono::high_resolution_clock::now(); /* animate sphere */ for (int i=0; i(end_animate - start_animate); - auto duration_commit = std::chrono::duration_cast(end_commit - start_commit); - - std::cout << "animate took " << duration_animate.count() << " milliseconds to execute." << std::endl; - std::cout << "commit took " << duration_commit.count() << " milliseconds to execute." << std::endl; data.g_traversable = rtcGetSceneTraversable(data.g_scene); }