X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FRegistry%2FSALOME_Registry_Server.cxx;h=6cba1c7d8c2374c90d80cc302a21ca43862864e3;hb=b5b44337d62219656650cf2b21108594bbf9adc3;hp=b917ec29f1ccf53ba5133995b5b1e0b3d2ce7170;hpb=4655b0b0eb5345da6a86852021014b0cbae2ad30;p=modules%2Fkernel.git diff --git a/src/Registry/SALOME_Registry_Server.cxx b/src/Registry/SALOME_Registry_Server.cxx index b917ec29f..6cba1c7d8 100644 --- a/src/Registry/SALOME_Registry_Server.cxx +++ b/src/Registry/SALOME_Registry_Server.cxx @@ -1,13 +1,32 @@ -using namespace std; -//============================================================================= -// File : SALOME_Registry_Server.cxx -// Created : Mon Nov 5 17:26:23 CET 2001 -// Author : Pascale NOYRET - Antoine YESSAYAN, EDF -// Project : SALOME -// Copyright : EDF 2001 -// $Header$ -//============================================================================= +// SALOME Registry : Registry server implementation +// +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// 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. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// +// File : SALOME_Registry_Server.cxx +// Author : Pascale NOYRET - Antoine YESSAYAN, EDF +// Module : SALOME +// $Header$ +using namespace std; # include # include # include @@ -26,6 +45,11 @@ extern "C" # include "SALOME_NamingService.hxx" # include "RegistryService.hxx" +//#define CHECKTIME +#ifdef CHECKTIME +#include +#endif + int main( int argc , char **argv ) { BEGIN_OF( argv[0] ) @@ -98,6 +122,13 @@ int main( int argc , char **argv ) // Lancement de l'ORB MESSAGE("Lancement de l'ORB") ; +#ifdef CHECKTIME + Utils_Timer timer; + timer.Start(); + timer.Stop(); + MESSAGE("SALOME_Registry_Server.cxx - orb->run()"); + timer.ShowAbsolute(); +#endif orb->run() ; } catch( const CORBA::Exception &ex )