]> www.ginac.de Git - ginac.git/blobdiff - check/times.h
- Same shit as Christian did yesterday in ginac/.
[ginac.git] / check / times.h
index a49c0f41bb84e50b6ef5f7025a4bd4af3c248a02..cc792bde54bb9daef34ecd479df60c2ec391899a 100644 (file)
@@ -25,7 +25,9 @@
 
 #include <sys/resource.h>
 #include <stdlib.h>
+#include <strstream>
 #include <vector>
+using namespace std;
 
 #include "ginac.h"
 
@@ -35,15 +37,15 @@ using namespace GiNaC;
 
 class timer {
 public:
-    timer();
-    void start(void);
-    void stop(void);
-    void reset(void);
-    double read(void);
-    bool running(void);
+       timer();
+       void start(void);
+       void stop(void);
+       void reset(void);
+       double read(void);
+       bool running(void);
 private:
-    bool on;
-    struct rusage used1, used2;
+       bool on;
+       struct rusage used1, used2;
 };
 
 // prototypes for all individual timings should be unsigned fcn():
@@ -64,5 +66,7 @@ unsigned time_lw_M1();
 unsigned time_lw_O();
 unsigned time_lw_P();
 unsigned time_lw_Pprime();
+unsigned time_lw_Q();
+unsigned time_lw_Qprime();
 
 #endif // ndef CHECKS_H