Check-in [cff0185200]
Not logged in
Overview

SHA1 Hash:cff018520068b2243fc4a335743f455d824e70af
Date: 2008-02-23 07:10:56
User: aku
Comment:Fix extraction of memory data from the log, pipe symbol is special.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified tools/cvs2fossil/getmemoryseries.tcl from [8e7cb19203] to [a93703a60d].

@@ -13,23 +13,23 @@
 puts $mr "\# Time Memory"
 
 set k 0
 while {![eof $in]} {
     gets $in line
-    puts -nonewline \r[incr k]
+    #puts -nonewline \r[incr k]
 
     if {[string match *|=|* $line]} {
 	# Basic series
-	regexp {^(.*)|=|} $line -> line
+	regexp {^(.*)\|=\|} $line -> line
 	foreach {x _ cba _ _ _ mba} $line break
 	puts $ba [join [list $x $cba $mba] \t]
 	continue
     }
 
     if {[string match *|@|* $line]} {
 	# Marker series
-	regexp {^(.*)|@|} $line -> line
+	regexp {^(.*)\|@\|} $line -> line
 	foreach {x _ cba} $line break
 	puts $mr [join [list $x $cba] \t]
 	continue
     }
 }