[Avida-cvs] [Avida2-svn] r265 - trunk/source/cpu

matt@myxo.css.msu.edu matt at myxo.css.msu.edu
Tue Jul 26 11:28:56 PDT 2005


Author: matt
Date: 2005-07-26 14:28:56 -0400 (Tue, 26 Jul 2005)
New Revision: 265

Modified:
   trunk/source/cpu/test_cpu.cc
Log:
Added shell-style commenting to execution trace endnotes.


Modified: trunk/source/cpu/test_cpu.cc
===================================================================
--- trunk/source/cpu/test_cpu.cc	2005-07-26 15:30:18 UTC (rev 264)
+++ trunk/source/cpu/test_cpu.cc	2005-07-26 18:28:56 UTC (rev 265)
@@ -162,15 +162,15 @@
   // Print out some final info in trace...
   if (trace_fp != NULL) {
     if (time_used == time_allocated) {
-      *trace_fp << endl << "TIMEOUT: No offspring produced." << endl;
+      *trace_fp << endl << "# TIMEOUT: No offspring produced." << endl;
     }
     else if (organism.GetHardware().GetMemory().GetSize() == 0) {
-      *trace_fp << endl << "ORGANISM DEATH: No offspring produced." << endl;
+      *trace_fp << endl << "# ORGANISM DEATH: No offspring produced." << endl;
     }
     else {
-      *trace_fp << endl << "Final Memory: "
+      *trace_fp << endl << "# Final Memory: "
 		<< organism.GetHardware().GetMemory().AsString() << endl
-		<< "Child Memory: " << organism.ChildGenome().AsString()
+		<< "# Child Memory: " << organism.ChildGenome().AsString()
 		<< endl;
     }
   }




More information about the Avida-cvs mailing list