]> www.ginac.de Git - ginac.git/blobdiff - check/time_lw_E.cpp
- Timings D and E: finer time resolution
[ginac.git] / check / time_lw_E.cpp
index dfeac7d622a7a02c57e9d519dab0aeda66fa434b..5dc004d24a41a5fd72443bd0b68c3e2718ad7e55 100644 (file)
@@ -42,7 +42,7 @@ static unsigned test(void)
 unsigned time_lw_E(void)
 {
     unsigned result = 0;
-    unsigned count = 1;
+    unsigned count = 0;
     timer rolex;
     double time = .0;
     
@@ -63,7 +63,7 @@ unsigned time_lw_E(void)
     } else {
         cout << " failed ";
     }
-    cout << int(1000*(time/count))*0.001 << 's' << endl;
+    cout << int(100000*(time/count))*0.00001 << 's' << endl;
     
     return result;
 }