X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Ftimes.h;h=cd0645b5030589004a978a807bc7b0eae96fb59b;hp=5d53b9f3858bcee7abb0f3ddd1f3e854f2587b27;hb=a775c17c710b9fbca130b2f638a0f463b8b56585;hpb=1f5afe37b4c079821de9810435fa9fa11e4ea17b diff --git a/check/times.h b/check/times.h index 5d53b9f3..cd0645b5 100644 --- a/check/times.h +++ b/check/times.h @@ -23,7 +23,6 @@ #ifndef CHECKS_H #define CHECKS_H -#include #include #include #include @@ -33,24 +32,14 @@ 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();