From af2bd88f2d540da91095c5aff1b5bbf569515aab Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Fri, 3 Jan 2025 13:44:11 +0100 Subject: [PATCH] #3570 refresh optimization vtkBaseView ColorLayer --- bbtk/src/bbcreaMaracasVisuSetPosition.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx index 7d543f8..2a37735 100644 --- a/bbtk/src/bbcreaMaracasVisuSetPosition.cxx +++ b/bbtk/src/bbcreaMaracasVisuSetPosition.cxx @@ -30,7 +30,7 @@ void SetPosition::Process() // (the one provided in the attribute 'type' of the tag 'input') if (bbGetInputActive()==true) { -//auto start1 = std::chrono::high_resolution_clock::now(); +auto start1 = std::chrono::high_resolution_clock::now(); if (bbGetInputwxVtkBaseView()!=NULL) { vtkMPRBaseData* vtkmprbasedata = (vtkMPRBaseData*) (bbGetInputwxVtkBaseView()->GetVtkBaseData()); @@ -58,9 +58,9 @@ void SetPosition::Process() vtkmprbasedata->SetFixAxis2D( tmpFixAxis ); } // if bbGetInputPosition } // bbGetInputwxVtkBaseView -//auto stop1 = std::chrono::high_resolution_clock::now(); -//auto duration1 = std::chrono::duration_cast(stop1 - start1); -//printf("EED SetPosition::Process time= %ld %s \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 %s \n", duration1.count() , this->bbGetFullName().c_str() ); } // Active } -- 2.49.0