From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 20 Dec 2024 10:23:00 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=664279ffa26df46d647e73feada425c6d2b3989a;p=bbtk.git Clean code --- 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() );