X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMDS%2Fchrono.cxx;h=a38746f41b8257a6a1cdf4391b807cd1494d6070;hb=e0552dbb7fcfd574db628a4e44b5e13fca6799f5;hp=f2f076df50bc71d0a59cb561d9fd6c5ae14fb042;hpb=c98d9fcd7f02c1f1f5c24dd3e709ed75228d66c4;p=modules%2Fsmesh.git diff --git a/src/SMDS/chrono.cxx b/src/SMDS/chrono.cxx index f2f076df5..a38746f41 100644 --- a/src/SMDS/chrono.cxx +++ b/src/SMDS/chrono.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2006-2023 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -21,6 +21,7 @@ #include "utilities.h" using namespace std; +using namespace SMDS; cntStruct* counters::_ctrs = 0; int counters::_nbChrono = 0; @@ -59,20 +60,20 @@ void counters::stats() } } -chrono::chrono(int i) : +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)