[Swift-commit] r2288 - log-processing/libexec
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Sat Oct 11 17:34:27 CDT 2008
Author: benc
Date: 2008-10-11 17:34:26 -0500 (Sat, 11 Oct 2008)
New Revision: 2288
Modified:
log-processing/libexec/trail
log-processing/libexec/trail.plot.template
Log:
make all states in trail plots start at 0,0 and shift everything up so the first event is numbered 1 not 0
Modified: log-processing/libexec/trail
===================================================================
--- log-processing/libexec/trail 2008-10-11 09:06:25 UTC (rev 2287)
+++ log-processing/libexec/trail 2008-10-11 22:34:26 UTC (rev 2288)
@@ -11,12 +11,13 @@
grep -E "^[^ ]* *[^ ]* *${state}(\$| .*$)" $1.transitions > tmp-ss-$state
cat tmp-ss-$state | sed 's/^\([^ ]*\) .*$/\1/' > tmp-ss2-$state
sort -n < tmp-ss2-$state > tmp-ss0-$state
- I=0
+ I=1
while read t rest; do
echo $t $I
I=$(( $I + 1 ))
done < tmp-ss0-$state > tmp-ss9-$state
- ./normalise-event-start-time < tmp-ss9-$state > tmp-ss3-$state
+ echo 0 0 > tmp-ss3-$state
+ ./normalise-event-start-time < tmp-ss9-$state >> tmp-ss3-$state
if [ "X$FIRSTSTATE" == "XNO" ]; then
echo -n ", " >> tmp-trail.plot
else
Modified: log-processing/libexec/trail.plot.template
===================================================================
--- log-processing/libexec/trail.plot.template 2008-10-11 09:06:25 UTC (rev 2287)
+++ log-processing/libexec/trail.plot.template 2008-10-11 22:34:26 UTC (rev 2288)
@@ -7,6 +7,7 @@
set xlabel 'realtime / s'
set xrange [0:MAXTIME]
+set yrange [0:]
plot \
More information about the Swift-commit
mailing list