]> www.ginac.de Git - ginac.git/blobdiff - check/times.h
- See if __GNUC__ < 2.97 before using std::vector<..,malloc_alloc>. Sorry,
[ginac.git] / check / times.h
index 74d3474e49d4adcd4e5c537ca2d8f7eeb4bbe54f..7dfe217dbecefef43c9478e934fe66384abf79ce 100644 (file)
@@ -3,7 +3,7 @@
  *  Prototypes for all individual timings. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 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
@@ -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():