X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fbases%2Fchrono.cxx;h=126728d95a02ffa1360f78c02ff7a991c1c19364;hb=1894c52d0838df8676e770bef061fc23ca436452;hp=4a7094e9e73a9be8c2523cd4a81e81e1ee45a90b;hpb=f3b2b68ffecc5033287a7a255c8507f8989fb87f;p=modules%2Fyacs.git diff --git a/src/bases/chrono.cxx b/src/bases/chrono.cxx index 4a7094e9e..126728d95 100644 --- a/src/bases/chrono.cxx +++ b/src/bases/chrono.cxx @@ -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;