]> Creatis software - creaMaracasVisu.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 14:09:46 +0000 (15:09 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 14:09:46 +0000 (15:09 +0100)
bbtk/src/bbcreaMaracasVisuSetPosition.cxx

index 85d9a7a8baa5a06d08522e20f9ddc7090161d65d..80358ad76d0b664593c523e952b7179726493baa 100644 (file)
@@ -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 @@ auto start1 = std::chrono::high_resolution_clock::now();
                        } // if bbGetInputPosition
                } // bbGetInputwxVtkBaseView    
        } // Active
-auto stop1       = std::chrono::high_resolution_clock::now();
-auto duration1   = std::chrono::duration_cast<std::chrono::microseconds>(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<std::chrono::microseconds>(stop1 - start1);
+//printf("EED SetPosition::Process time= %ld  \n", duration1.count() , this->bbGetFullName().c_str() );
 }
 
 //=====