CoCoALib-0.9905 date: 23 May 2007


time.H

Go to the documentation of this file.
00001 #ifndef CoCoA_time_H
00002 #define CoCoA_time_H
00003 
00004 //   Copyright (c)  2005  John Abbott
00005 
00006 //   This file is part of the source of CoCoALib, the CoCoA Library.
00007 
00008 //   CoCoALib is free software; you can redistribute it and/or modify
00009 //   it under the terms of the GNU General Public License (version 2)
00010 //   as published by the Free Software Foundation.  A copy of the full
00011 //   licence may be found in the file COPYING in this directory.
00012 
00013 //   CoCoALib is distributed in the hope that it will be useful,
00014 //   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 //   GNU General Public License for more details.
00017 
00018 //   You should have received a copy of the GNU General Public License
00019 //   along with CoCoA; if not, write to the Free Software
00020 //   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 
00022 
00023 namespace CoCoA
00024 {
00025 
00026   /*-----------------------------------------------------------------*/
00027   /** \include time.txt  */
00028   /*-----------------------------------------------------------------*/
00029   double CpuTime();  ///< Returns user CPU usage in seconds since start of program.
00030   double RealTime(); ///< Returns number of seconds elapsed since some fixed point in the past.
00031 
00032 } // end of namespace CoCoA
00033 
00034 
00035 
00036 // RCS header/log in the next few lines
00037 // $Header: /Volumes/Home/cocoa/cvs-repository/CoCoALib-0.99/include/CoCoA/time.H,v 1.1.1.1 2007/03/09 15:16:11 abbott Exp $
00038 // $Log: time.H,v $
00039 // Revision 1.1.1.1  2007/03/09 15:16:11  abbott
00040 // Imported files
00041 //
00042 // Revision 1.3  2006/12/06 17:18:40  cocoa
00043 // -- removed #include "config.H"
00044 //
00045 // Revision 1.2  2006/10/06 14:04:15  cocoa
00046 // Corrected position of #ifndef in header files.
00047 // Separated CoCoA_ASSERT into assert.H from config.H;
00048 // many minor consequential changes (have to #include assert.H).
00049 // A little tidying of #include directives (esp. in Max's code).
00050 //
00051 // Revision 1.1.1.1  2006/05/30 11:39:37  cocoa
00052 // Imported files
00053 //
00054 // Revision 1.2  2006/01/20 17:44:20  cocoa
00055 // Friday afternoon check-in: you have been warned!
00056 // Fixed ref counting bug in SmartPtrIRC.
00057 // Added sum/product functions in tmp.H.
00058 // Minor tidying here and there.
00059 //
00060 // Revision 1.1  2005/11/15 12:24:35  cocoa
00061 // New timing functions.
00062 //
00063 
00064 #endif

Generated on Wed May 23 13:43:36 2007 for CoCoALib by  doxygen 1.4.6