X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMDS%2Fchrono.cxx;h=9493b7d165e8e8dce61e416b215c62dcada93ab4;hp=caa6031f404cba316ac1d7653271020a00cb00a4;hb=21af9b3a2c317f5693f228cd8ed55c2bb44b0a07;hpb=6bac08c1a81f34d3f21c550bd92f83654b2546a5;ds=sidebyside diff --git a/src/SMDS/chrono.cxx b/src/SMDS/chrono.cxx index caa6031f4..9493b7d16 100644 --- a/src/SMDS/chrono.cxx +++ b/src/SMDS/chrono.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2015 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 @@ -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)