diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-19 22:20:17 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-11-19 22:20:17 +0000 |
commit | c6807401891a0d3c7cf512f12ac47e13b7134d7a (patch) | |
tree | 29b30c923f80f3b7d9928ee8634c9c9c3c59a1dd /TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize | |
parent | aa3003e8908977cddcdf7f612a705c4585225b96 (diff) | |
download | ATCD-c6807401891a0d3c7cf512f12ac47e13b7134d7a.tar.gz |
added support for output in either usec or msec
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/MT_Cubit/summarize')
-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; |