Salome HOME
Update of CheckDone
[modules/smesh.git] / src / SMDS / chrono.cxx
index f2f076df50bc71d0a59cb561d9fd6c5ae14fb042..6b36f0f4a8c37bd085ab442c2e17095042e16356 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2006-2024  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -21,6 +21,7 @@
 #include "utilities.h"
 
 using namespace std;
+using namespace SMDS;
 
 cntStruct* counters::_ctrs = 0;
 int counters::_nbChrono = 0;
@@ -59,20 +60,20 @@ void counters::stats()
       }
 }
 
-chrono::chrono(int i) :
+salome_chrono::salome_chrono(int i) :
   _run(true), _ctr(i)
 {
   //MESSAGE("chrono::chrono " << _ctr << " " << _run);
   _start = clock();
 }
 
-chrono::~chrono()
+salome_chrono::~salome_chrono()
 {
   if (_run)
     stop();
 }
 
-void chrono::stop()
+void salome_chrono::stop()
 {
   //MESSAGE("chrono::stop " << _ctr << " " << _run);
   if (_run)