From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 20 Dec 2024 09:47:26 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=cd8d102682d028eb2ebc3653d4590ebea7de98ba;p=bbtk.git Clean code --- diff --git a/kernel/src/bbtkBlackBox.cxx b/kernel/src/bbtkBlackBox.cxx index 342da2c..9f3b4bb 100644 --- a/kernel/src/bbtkBlackBox.cxx +++ b/kernel/src/bbtkBlackBox.cxx @@ -653,10 +653,21 @@ namespace bbtk { bbLetRecursiveExecuteManualMode = true; } - - - // Calls the main recursive execution method - bbRecursiveExecute(Connection::Pointer()); + + printf("\n\n"); + printf("EED BlackBox::bbExecute start %s \n", bbGetFullName().c_str() ); + auto start = std::chrono::high_resolution_clock::now(); + + // Calls the main recursive execution method + bbRecursiveExecute(Connection::Pointer()); + + + auto stop = std::chrono::high_resolution_clock::now(); + auto duration = duration_cast(stop - start); + printf("EED BlackBox::bbExecute time= %ld %s \n", duration.count() , bbGetFullName().c_str() ); + printf("EED BlackBox::bbExecute end %s \n", bbGetFullName().c_str() ); + + if ( bbBoxProcessModeIsManual() )