]> www.ginac.de Git - ginac.git/blobdiff - check/times.h
- Same shit as Christian did yesterday in ginac/.
[ginac.git] / check / times.h
index 74d3474e49d4adcd4e5c537ca2d8f7eeb4bbe54f..cc792bde54bb9daef34ecd479df60c2ec391899a 100644 (file)
@@ -27,6 +27,7 @@
 #include <stdlib.h>
 #include <strstream>
 #include <vector>
+using namespace std;
 
 #include "ginac.h"
 
@@ -36,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():