[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/broken_light.h light.cpp main.cpp vehicle.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 25 13:36:08 PDT 2004



Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/city:

broken_light.h updated: 1.2 -> 1.3
light.cpp updated: 1.1 -> 1.2
main.cpp updated: 1.5 -> 1.6
vehicle.cpp updated: 1.2 -> 1.3
---
Log message:

Reduce the size of the out-* files from 1.37M to 1K for each configuration


---
Diffs of the changes:  (+6 -6)

Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/broken_light.h
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/broken_light.h:1.2 llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/broken_light.h:1.3
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/broken_light.h:1.2	Mon Oct  4 16:08:35 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/broken_light.h	Mon Oct 25 15:35:57 2004
@@ -19,7 +19,7 @@
 
 inline int broken_light::next_state()
 {
-    cout << "next state called\n";
+    //cout << "next state called\n";
     if ((random() % 4) == 1)
 	return (current_state);
     else


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/light.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/light.cpp:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/light.cpp:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/light.cpp:1.1	Mon Oct  4 15:01:13 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/light.cpp	Mon Oct 25 15:35:57 2004
@@ -10,7 +10,7 @@
     {
         current_state = this->next_state();
 
-	cout << "current state = "<< current_state << '\n';
+	//cout << "current state = "<< current_state << '\n';
 	time_remaining_in_current_state = time_in_state[current_state];
     }
 }


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/main.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/main.cpp:1.5 llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/main.cpp:1.6
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/main.cpp:1.5	Mon Oct  4 19:30:21 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/main.cpp	Mon Oct 25 15:35:57 2004
@@ -73,7 +73,7 @@
 
     for(i = 0; i < 100000; i++)
     {
-	cout << l << "\n";
+	//cout << l << "\n";
 	l.tick();
     }
 
@@ -96,8 +96,8 @@
 
     for(i=0; i< 100000; i++)
     {
-        cout << '\n' << i << ' ' << c << '\n';
+        //cout << '\n' << i << ' ' << c << '\n';
         c.tick();
     }
-    cout << i << ' ' << c << '\n';
+    //cout << i << ' ' << c << '\n';
 }


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/vehicle.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/vehicle.cpp:1.2 llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/vehicle.cpp:1.3
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/vehicle.cpp:1.2	Mon Oct  4 16:19:30 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/city/vehicle.cpp	Mon Oct 25 15:35:57 2004
@@ -80,7 +80,7 @@
 
     if (used == 0)
     {
-        cout << "vehicle::select_move "<< *this << " has no where to go!\n";
+        //cout << "vehicle::select_move "<< *this << " has no where to go!\n";
 	return(NO_DIRECTION);
     }
     else






More information about the llvm-commits mailing list