X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fbases%2Fchrono.hxx;h=e1641e6ca1015e19e7999925175d657aaa58b95d;hb=255150e4eec79294bbd06c7c464f309b4a264960;hp=c5eeb1304c4b5cae1ec87f1fb16b77b3dba9ea2f;hpb=f3b2b68ffecc5033287a7a255c8507f8989fb87f;p=modules%2Fyacs.git diff --git a/src/bases/chrono.hxx b/src/bases/chrono.hxx index c5eeb1304..e1641e6ca 100644 --- a/src/bases/chrono.hxx +++ b/src/bases/chrono.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2006-2013 CEA/DEN, EDF R&D +// Copyright (C) 2006-2023 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 @@ -50,11 +50,11 @@ protected: int _nbChrono; }; -class YACSBASES_EXPORT chrono +class YACSBASES_EXPORT salome_chrono { public: - chrono(int i); - ~chrono(); + salome_chrono(int i); + ~salome_chrono(); void stop(); protected: bool _run; @@ -79,7 +79,7 @@ static timeval tv; #ifdef CHRONODEF #define CHRONO(i) counters::_ctrs[i]._ctrNames = (char *)__FILE__; \ counters::_ctrs[i]._ctrLines = __LINE__; \ - chrono aChrono##i(i); + salome_chrono aChrono##i(i); #define CHRONOSTOP(i) aChrono##i.stop();