Browse Source

add pid to stats output for parallel execution

git.mgm/mediaproxy-ng/github/master
Richard Fuchs 13 years ago
parent
commit
91362687b7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tests/simulator-ng.pl

+ 2
- 1
tests/simulator-ng.pl View File

@ -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;


Loading…
Cancel
Save