test-timer.cc File Reference

#include "config.h"
#include <iostream>
#include <cassert>
#include <unistd.h>
#include "asserts.h"
#include "error.h"
#include "timer.h"

Include dependency graph for test-timer.cc:

Include dependency graph

Go to the source code of this file.

Defines

#define ERR_OUT(s)

Functions

template<class T> T absolute (const T &num)
void test1 (void)
void test2 (void)
void test3 (void)
int main (int argc, char *argv[])


Define Documentation

#define ERR_OUT  ) 
 

Definition at line 15 of file test-timer.cc.


Function Documentation

template<class T>
T absolute const T &  num  ) 
 

Definition at line 18 of file test-timer.cc.

Referenced by safe_num< T >::add(), safe_num< T >::subtract(), test2(), and test7().

int main int  argc,
char *  argv[]
 

Definition at line 362 of file test-timer.cc.

References err_unknown, test1(), test2(), and test3().

Here is the call graph for this function:

void test1 void   ) 
 

Definition at line 26 of file test-timer.cc.

References timer::duration(), timer::start(), and timer::stop().

Here is the call graph for this function:

void test2 void   ) 
 

Definition at line 51 of file test-timer.cc.

References absolute(), timer::duration_days(), timer::duration_hours(), timer::duration_mins(), timer::duration_secs(), timer::duration_type, timer::duration_years(), timer::start(), and timer::stop().

Here is the call graph for this function:

void test3 void   ) 
 

Definition at line 96 of file test-timer.cc.

References timer::assign(), timer::duration(), timer::eta(), timer::start_value(), timer::started_at(), timer::stop_value(), timer::stopped_at(), and timer::use_localtime().

Here is the call graph for this function:


Generated on Mon Jul 12 12:08:04 2004 for rvm by doxygen 1.3.6