X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=check%2Ftimes.h;h=3df3e5129d193b53cc3dec109d6fbbb3c8c335f3;hb=f1dedbe2e079cc7aa0bf34445aa920e9a9046ee5;hp=28ce4a758fb8db5bc0a288b08b99eb403691dfe2;hpb=c69d2c6f95cd62f1bbf2ff665551b1d1b693466c;p=ginac.git diff --git a/check/times.h b/check/times.h index 28ce4a75..3df3e512 100644 --- a/check/times.h +++ b/check/times.h @@ -3,7 +3,7 @@ * Prototypes for all individual timings. */ /* - * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany * * 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 @@ -23,38 +23,23 @@ #ifndef CHECKS_H #define CHECKS_H -#include -#include -#include "config.h" -#if defined(HAVE_SSTREAM) -# include -#else -# include -#endif +#include +#include +#include #include -using namespace std; - +#include "config.h" #include "ginac.h" +using namespace std; using namespace GiNaC; -class timer { -public: - timer(); - void start(void); - void stop(void); - void reset(void); - double read(void); - bool running(void); -private: - bool on; - struct rusage used1, used2; -}; +#include "timer.h" // prototypes for all individual timings should be unsigned fcn(): unsigned time_dennyfliegner(); unsigned time_gammaseries(); unsigned time_vandermonde(); unsigned time_toeplitz(); +unsigned time_hashmap(); unsigned time_lw_A(); unsigned time_lw_B(); unsigned time_lw_C(); @@ -72,5 +57,7 @@ unsigned time_lw_P(); unsigned time_lw_Pprime(); unsigned time_lw_Q(); unsigned time_lw_Qprime(); +unsigned time_antipode(); +unsigned time_fateman_expand(); #endif // ndef CHECKS_H