seconds.h

Go to the documentation of this file.
00001 /*  _________________________________________________________________________
00002  *
00003  *  UTILIB: A utility library for developing portable C++ codes.
00004  *  Copyright (c) 2001, Sandia National Laboratories.
00005  *  This software is distributed under the GNU Lesser General Public License.
00006  *  For more information, see the README file in the top UTILIB directory.
00007  *  _________________________________________________________________________
00008  */
00009 
00018 #ifndef ___seconds_h
00019 #define ___seconds_h
00020 
00021 #include "utilib_dll.h"
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00028 UTILIB_API double CPUSeconds();
00029 
00031 UTILIB_API double ElapsedCPUSeconds();
00032 
00034 UTILIB_API double WallClockSeconds();
00035 
00037 UTILIB_API double ElapsedWallClockSeconds();
00038 
00040 UTILIB_API int    InitializeTiming();
00041 
00043 UTILIB_API double CurrentTime();
00044 
00045 #ifdef __cplusplus
00046 };
00047 #endif
00048 
00049 #endif