All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces
Time.h File Reference

Header file for time functions. More...

#include <sys/resource.h>
#include <sys/time.h>
#include <sys/types.h>
#include <ctime>
#include <string>

Go to the source code of this file.

Namespaces

namespace  blaze
 Namespace of the Blaze C++ math library.
 

Functions

Time functions
std::string blaze::getDate ()
 Creating a formated date string in the form YYYY-MM-DD.
 
std::string blaze::getTime ()
 Creating a formated time and date string.
 
double blaze::getWcTime ()
 Returns the current wall clock time in seconds.
 
double blaze::getCpuTime ()
 Returns the current CPU time in seconds.
 

Detailed Description

Header file for time functions.

Copyright (C) 2011 Klaus Iglberger - All Rights Reserved

This file is part of the Blaze library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

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 General Public License for more details.

You should have received a copy of the GNU General Public License along with a special exception for linking and compiling against the Blaze library, the so-called "runtime exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.