IT++ Logo

timing.cpp File Reference

Implementation of Timing classes. More...

#include <itpp/config.h>
#include <ctime>
#include <itpp/base/timing.h>
#include <cstdio>
#include <iostream>
#include <cmath>

Go to the source code of this file.


Namespaces

namespace  itpp
 itpp namespace

Functions

void itpp::tic ()
 Reset and start timer.
double itpp::toc ()
 Returns the elapsed time since last tic().
void itpp::toc_print ()
 Prints the elapsed time since last tic().
void itpp::pause (double t=-1)
 pause

Variables

Real_Timer itpp::__tic_toc_timer
 Global object for tic and toc functions.


Detailed Description

Implementation of Timing classes.

Author:
Thomas Eriksson, Tony Ottosson, Tobias Ringstrom and Adam Piatyszek
-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)

This program 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 2 of the License, or (at your option) any later version.

This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file timing.cpp.

SourceForge Logo

Generated on Fri May 1 11:09:20 2009 for IT++ by Doxygen 1.5.8