]> www.ginac.de Git - ginac.git/blobdiff - check/times.h
some functions that took a "const symbol &" now take a "const ex &"
[ginac.git] / check / times.h
index 5d53b9f3858bcee7abb0f3ddd1f3e854f2587b27..cd0645b5030589004a978a807bc7b0eae96fb59b 100644 (file)
@@ -23,7 +23,6 @@
 #ifndef CHECKS_H
 #define CHECKS_H
 
 #ifndef CHECKS_H
 #define CHECKS_H
 
-#include <sys/resource.h>
 #include <cstdlib>
 #include <iostream>
 #include <sstream>
 #include <cstdlib>
 #include <iostream>
 #include <sstream>
 using namespace std;
 using namespace GiNaC;
 
 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();
 
 // 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();
 unsigned time_lw_A();
 unsigned time_lw_B();
 unsigned time_lw_C();