add an option to control the history implementation
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 07 Jun 2007 12:44:44 +0200
changeset 881 62901fdaeb68
parent 880 8fcfe6ee5c9c
child 882 777fcfabc1c8
add an option to control the history implementation
utils/bench-packets.cc
--- a/utils/bench-packets.cc	Thu Jun 07 12:42:44 2007 +0200
+++ b/utils/bench-packets.cc	Thu Jun 07 12:44:44 2007 +0200
@@ -188,10 +188,14 @@
   }
 
 
-
+  PacketHistory::SetOptOne (false);
   runBench (&benchPtrA, n, "a");
   runBench (&benchPtrB, n, "b");
   runBench (&benchPtrC, n, "c");
+  PacketHistory::SetOptOne (true);
+  runBench (&benchPtrA, n, "a-opt");
+  runBench (&benchPtrB, n, "b-opt");
+  runBench (&benchPtrC, n, "c-opt");
 
   return 0;
 }