X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fbases%2Fchrono.hxx;h=a0ed68962e2ef2d2ccdafe10b0c1d0abb96698e1;hb=e41dd6512d61d8270dec5ad62f4a0b6703ff112d;hp=6489ff6e9ce0092ced2b88ed8473765509ba18d5;hpb=88c5f67088445931a1598331e1faae6df0145c0b;p=modules%2Fyacs.git diff --git a/src/bases/chrono.hxx b/src/bases/chrono.hxx index 6489ff6e9..a0ed68962 100644 --- a/src/bases/chrono.hxx +++ b/src/bases/chrono.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2014 CEA/DEN, EDF R&D +// Copyright (C) 2006-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -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();