summaryrefslogtreecommitdiff
path: root/ACE/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-12-09 16:32:55 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-12-09 16:32:55 +0000
commitc9fc788b260b344d003232bedcfe004d2172e8b7 (patch)
treebcedd971b8fe48fcb180714be7ddd1efee279f48 /ACE/examples
parent0be4c0afe265e545dc9b0f50ea9a764e3085a49b (diff)
downloadATCD-c9fc788b260b344d003232bedcfe004d2172e8b7.tar.gz
Tue Dec 9 16:32:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/examples')
-rwxr-xr-xACE/examples/IPC_SAP/SOCK_SAP/summarize.pl3
-rwxr-xr-xACE/examples/IPC_SAP/SSL_SAP/summarize.pl3
2 files changed, 4 insertions, 2 deletions
diff --git a/ACE/examples/IPC_SAP/SOCK_SAP/summarize.pl b/ACE/examples/IPC_SAP/SOCK_SAP/summarize.pl
index ee8ffd2df25..6411faa2f88 100755
--- a/ACE/examples/IPC_SAP/SOCK_SAP/summarize.pl
+++ b/ACE/examples/IPC_SAP/SOCK_SAP/summarize.pl
@@ -1,3 +1,4 @@
+#! /usr/bin/perl
eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}'
& eval 'exec perl -w -S $0 $argv:q'
if 0;
@@ -32,7 +33,7 @@ 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 ($line = <FILE>) {
- if ($line =~ /.*usec-per-message = ([\d\.]+)/)
+ if ($line =~ /.*usec-per-message = ([\d\.]+)/)
{
$high_latency += $1 ;
$number++;
diff --git a/ACE/examples/IPC_SAP/SSL_SAP/summarize.pl b/ACE/examples/IPC_SAP/SSL_SAP/summarize.pl
index ee8ffd2df25..6411faa2f88 100755
--- a/ACE/examples/IPC_SAP/SSL_SAP/summarize.pl
+++ b/ACE/examples/IPC_SAP/SSL_SAP/summarize.pl
@@ -1,3 +1,4 @@
+#! /usr/bin/perl
eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}'
& eval 'exec perl -w -S $0 $argv:q'
if 0;
@@ -32,7 +33,7 @@ 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 ($line = <FILE>) {
- if ($line =~ /.*usec-per-message = ([\d\.]+)/)
+ if ($line =~ /.*usec-per-message = ([\d\.]+)/)
{
$high_latency += $1 ;
$number++;