From cd8d102682d028eb2ebc3653d4590ebea7de98ba Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Fri, 20 Dec 2024 10:47:26 +0100 Subject: [PATCH] Clean code --- kernel/src/bbtkBlackBox.cxx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) 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() ) -- 2.47.1