diff options
-rwxr-xr-x | TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize b/TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize index 1ebebb59d47..c8e8959c0be 100755 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize +++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize @@ -36,13 +36,22 @@ foreach $total_threads (sort {$a <=> $b} @total_threads) { open (FILE, "client-${total_threads}.log") || die "$0: unable to open \"client-${total_threads}.log\"\n"; while (<FILE>) { - if (/^High priority client latency : ([\d\.]+).*jitter: ([\d\.]+)/) { + if (/^High priority client latency : ([\d\.]+) msec, jitter: ([\d\.]+)/) { + #### For old versions of client.cpp that printed out in msec. $high_latency = $1 * 1000; $high_jitter = $2 * 1000; - } elsif (/^Low priority client latency : ([\d\.]+).*jitter: ([\d\.]+)/) { + } elsif (/^High priority client latency : ([\d\.]+) usec, jitter: ([\d\.]+)/) { + $high_latency = $1; + $high_jitter = $2 + } elsif (/^Low priority client latency : ([\d\.]+) msec, jitter: ([\d\.]+)/) { + #### For old versions of client.cpp that printed out in msec. $low_latency = $1 * 1000; $low_jitter = $2 * 1000; last; + } elsif (/^Low priority client latency : ([\d\.]+) usec, jitter: ([\d\.]+)/) { + $low_latency = $1; + $low_jitter = $2; + last; } } close FILE; |