]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Time calculation of creating Gauss Points presentation.
authorouv <ouv@opencascade.com>
Tue, 15 Nov 2005 09:28:55 +0000 (09:28 +0000)
committerouv <ouv@opencascade.com>
Tue, 15 Nov 2005 09:28:55 +0000 (09:28 +0000)
src/VISUGUI/VisuGUI_Module.cxx

index be3a6999bf56ab28df6fb8e25fa58484144dcc6f..41b82b75b8792575f9b334dcb02f5d5fc13faf09 100644 (file)
@@ -72,6 +72,7 @@
 
 #include <vtkRenderer.h>
 #include <vtkCamera.h>
+#include <vtkTimerLog.h>
 
 #include <sstream>
 
@@ -627,7 +628,10 @@ void
 VisuGUI_Module
 ::OnCreateGaussPoints()
 {
+  double initialTime = vtkTimerLog::GetCPUTime();
   CreatePrs3d<VISU::GaussPoints_i,VVTK_Viewer,VisuGUI_GaussPointsDlg,1>(this,true);
+  INFOS( "VisuGUI_Module::OnCreateGaussPoints() : Gauss Points created in " <<
+        vtkTimerLog::GetCPUTime() - initialTime << " seconds" );
 }
 
 void