Salome HOME
Updated copyright comment
[modules/yacs.git] / src / bases / chrono.cxx
index 4a7094e9e73a9be8c2523cd4a81e81e1ee45a90b..126728d95a02ffa1360f78c02ff7a991c1c19364 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -62,20 +62,20 @@ void counters::stats()
 
 
 
-chrono::chrono(int i) : _ctr(i), _run(true)
+salome_chrono::salome_chrono(int i) : _ctr(i), _run(true)
 {
-  //DEBTRACE("chrono::chrono " << _ctr << " " << _run);
+  //DEBTRACE("salome_chrono::salome_chrono " << _ctr << " " << _run);
   _start = clock();    
 }
 
-chrono::~chrono()
+salome_chrono::~salome_chrono()
 {
   if (_run) stop();
 }
 
-void chrono::stop()
+void salome_chrono::stop()
 {
-  //DEBTRACE("chrono::stop " << _ctr << " " << _run);
+  //DEBTRACE("salome_chrono::stop " << _ctr << " " << _run);
   if (_run)
     {
       _run = false;