From 91362687b7e74da3b402b3b7b717af88015eab13 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 19 Jun 2013 12:49:07 -0400 Subject: [PATCH] add pid to stats output for parallel execution --- tests/simulator-ng.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/simulator-ng.pl b/tests/simulator-ng.pl index 170dbfb07..6bf84f31d 100755 --- a/tests/simulator-ng.pl +++ b/tests/simulator-ng.pl @@ -595,7 +595,8 @@ while (time() < $end) { if ($now >= $countstop) { my $span = $now - $countstart; - printf("%d RTP packets sent in %.1f seconds = %.1f packets per stream per second\n", + printf("[%05d] %d RTP packets sent in %.1f seconds = %.1f packets per stream per second\n", + $$, $RTP_COUNT, $span, $RTP_COUNT / $span / $NUM_STREAMS); $RTP_COUNT = 0;