X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2Fchrono.cxx;h=9493b7d165e8e8dce61e416b215c62dcada93ab4;hb=f757d34e5ab5e6471f7d49c835b6d7b0d58009c8;hp=c67c23bfbd80cdd3c7eb0a70a341fe8a683c8e1c;hpb=bd8f1aee7c78f7d2eb82bd4fec5e08c9e3d280ce;p=modules%2Fsmesh.git diff --git a/src/SMDS/chrono.cxx b/src/SMDS/chrono.cxx index c67c23bfb..9493b7d16 100644 --- a/src/SMDS/chrono.cxx +++ b/src/SMDS/chrono.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2006-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2006-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // 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 @@ -59,20 +59,20 @@ void counters::stats() } } -chrono::chrono(int i) : - _ctr(i), _run(true) +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)