From 664279ffa26df46d647e73feada425c6d2b3989a Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Fri, 20 Dec 2024 11:23:00 +0100 Subject: [PATCH] Clean code --- kernel/src/bbtkBlackBox.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/src/bbtkBlackBox.cxx b/kernel/src/bbtkBlackBox.cxx index 091cddd..5de0c1f 100644 --- a/kernel/src/bbtkBlackBox.cxx +++ b/kernel/src/bbtkBlackBox.cxx @@ -761,11 +761,11 @@ namespace bbtk //printf("EED BlackBox::bbRecursiveExecute bbProcess start %s \n", bbGetFullName().c_str() ); -//auto start = std::chrono::high_resolution_clock::now(); +auto start = std::chrono::high_resolution_clock::now(); this->bbProcess(); -//auto stop = std::chrono::high_resolution_clock::now(); -//auto duration = duration_cast(stop - start); -//printf("EED BlackBox::bbRecursiveExecute bbProcess time= %ld %s \n", duration.count() , bbGetFullName().c_str() ); +auto stop = std::chrono::high_resolution_clock::now(); +auto duration = std::chrono::duration_cast(stop - start); +printf("EED BlackBox::bbRecursiveExecute bbProcess time= %ld %s \n", duration.count() , bbGetFullName().c_str() ); //printf("EED BlackBox::bbRecursiveExecute bbProcess end %s \n", bbGetFullName().c_str() ); -- 2.47.1