Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
VirtTimerG::VirtTimerG(void)
VirtTimerG::VirtTimerG(double)
VirtTimerG::Dump(ostream &) const
TimerG::Reset(void)
TimerG::Set(double)
TimerG::Set(long,long)
TimerG::Restart(void)
TimerG::Start(void)
TimerG::Stop(void)
TimerG::IsTicking(void)
TimerG::SetOutputFormat(UIntT,UIntT)
TimerG::OutputFmtSecWidth(void) const
TimerG::OutputFmtFracWidth(void) const
TimerG::Elapsed(void)
TimerG::ElapsedTime(void) const
TimerG::operator double(void)
TimerG::Time(void)
TimerG::FullPrint(void)
TimerG::Print(int,int)
TimerG::operator<<(ostream &,TimerG &)
VirtTimerG
 
include "amma/Timer.hh"
User Level:Default
Library:GTimer
Example:exEndPoint.cc
Section:Utilities.Timing
In Scope:std

Comments:
For timing events in seconds. ******* The use of this class is NOT recomended ******* WARNING: This code is unstable and its perfromance depends on the machine you run it on. It is also know to have problems with illegal instructions. These can be got around by adding ANSIFLAG= to the program using it. WARNING: This will NOT work in multithreaded programs.

Parent Classes: Methods:
VirtTimerG()
Default constructor.

VirtTimerG(double a)
Constructor.

void Dump(ostream & Out) const
Dump internal state to stdout.

void Reset()
Reset elapse timer to zero

void Set(double t)
Set elapse timer to value

void Set(long s,long n = 0)
Set elapse timer to values

void Restart()
Restart timer

void Start()
Starts the timer from where it last stopped

void Stop()
Stops the timer

bool IsTicking()
Checks if elapse timer is timing

void SetOutputFormat(UIntT sw,UIntT fw)
Set the print format for seconds field and number of decimals

IntT OutputFmtSecWidth() const
Get output width of seconds.

IntT OutputFmtFracWidth() const
Get output width of fraction.

void Elapsed()
Calculate and store elapsed time.
This used to be private, don't use unless your SURE you know what your doing.

const VirtTimeRepG & ElapsedTime() const
Access elapsed time.

operator double()
Returns the total amount of elapsed time between all the Start() and Stop()'s.

RealT Time()
The time now from timer creation

void FullPrint()

void Print(int secs_width = 0,int frac_width = 4)

ostream & operator<<(ostream & s,TimerG<VirtTimeRepG> & t)


Programmer:George (Jiri) Matas, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001