[Sumover-dev] [svn commit] r4601 - vic/branches/cc/cc
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Mon Feb 8 12:31:29 GMT 2010
Author: soohyunc
Date: Mon Feb 8 12:31:29 2010
New Revision: 4601
Modified:
vic/branches/cc/cc/o.sh
Log:
processing trace
Modified: vic/branches/cc/cc/o.sh
==============================================================================
--- vic/branches/cc/cc/o.sh (original)
+++ vic/branches/cc/cc/o.sh Mon Feb 8 12:31:29 2010
@@ -1,7 +1,7 @@
#!/bin/sh
# packet seqno trace in time
-grep seqno trace.s | grep -v pid | awk '{print $2" "$4}' > seqno.tr
+grep seqno trace.s | grep -v pid | awk '{if($1=="now:" && $3=="seqno:") print}' | awk '{print $2" "$4}' > seqno.tr
cc/tools/asv seqno.tr
rm seqno.tr
@@ -12,4 +12,4 @@
grep h261_encode_end trace.s | grep -v pid | awk '{print $3" "100}' > ence.xg
# encoding time difference
-grep enc_time trace.s | grep -v pid | awk '{print $2"\t"$4}' > enct.xg
+grep enc_time trace.s | awk '{if($1=="num:" && $3=="enc_time:") print}' | awk '{print $2"\t"$4}' > enct.xg
More information about the Sumover-dev
mailing list