This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: parse_tcpdump_log.pl: Round timestamp calculus up
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Tue Mar 8 22:43:42 2011 -0300

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 contrib/parse_tcpdump_log.pl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=7c976f50e679c08f892d0c33e77796e2312d5743

diff --git a/contrib/parse_tcpdump_log.pl b/contrib/parse_tcpdump_log.pl
index 033e162..8cc791c 100755
--- a/contrib/parse_tcpdump_log.pl
+++ b/contrib/parse_tcpdump_log.pl
@@ -33,9 +33,9 @@ sub print_frame($$)
        #       relative time from last resp
        #       time to complete
        printf "%09d ms %06d ms (%06d us",
-               1000 * $req{"Time"},
-               1000 * ($req{"Time"} - $last_time),
-               ($resp{"Time"} - $req{"Time"}) * 1000000;
+               1000 * $req{"Time"} + 0.5,
+               1000 * ($req{"Time"} - $last_time) + 0.5,
+               ($resp{"Time"} - $req{"Time"}) * 1000000 + 0.5;
        $last_time = $req{"Time"};
 
        printf " EP=%02x)", $resp{"Endpoint"};

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to