From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 20 Dec 2024 14:21:56 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=85a575cc8e95226d49d67cab61bdee6b42858b87;p=creaMaracasVisu.git Clean code --- diff --git a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx index 80358ad..85d9a7a 100644 --- a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx +++ b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx @@ -16,7 +16,7 @@ BBTK_BLACK_BOX_IMPLEMENTATION(SetPosition,bbtk::AtomicBlackBox); //===== void SetPosition::Process() { -//auto start1 = std::chrono::high_resolution_clock::now(); +auto start1 = std::chrono::high_resolution_clock::now(); // THE MAIN PROCESSING METHOD BODY // Here we simply set the input 'In' value to the output 'Out' // And print out the output value @@ -60,9 +60,9 @@ void SetPosition::Process() } // if bbGetInputPosition } // bbGetInputwxVtkBaseView } // Active -//auto stop1 = std::chrono::high_resolution_clock::now(); -//auto duration1 = std::chrono::duration_cast(stop1 - start1); -//printf("EED SetPosition::Process time= %ld \n", duration1.count() , this->bbGetFullName().c_str() ); +auto stop1 = std::chrono::high_resolution_clock::now(); +auto duration1 = std::chrono::duration_cast(stop1 - start1); +printf("EED SetPosition::Process time= %ld \n", duration1.count() , this->bbGetFullName().c_str() ); } //=====