aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/examples/meas/mstone1.sh.skel.src
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-02-28 18:42:26 +0100
committerMicael Karlberg <[email protected]>2012-02-28 18:42:26 +0100
commitdfd5f918b84e08d648c4e5965a42223f5b6bd0c1 (patch)
tree89a1095d6f2160e1ecc3dc749048f549508e1f06 /lib/megaco/examples/meas/mstone1.sh.skel.src
parentcc3122ab804299810c817f3819323234ff3e23c3 (diff)
downloadotp-dfd5f918b84e08d648c4e5965a42223f5b6bd0c1.tar.gz
otp-dfd5f918b84e08d648c4e5965a42223f5b6bd0c1.tar.bz2
otp-dfd5f918b84e08d648c4e5965a42223f5b6bd0c1.zip
[megaco] Remove use of deprecated system flag scheduler_bind_type
OTP-9949
Diffstat (limited to 'lib/megaco/examples/meas/mstone1.sh.skel.src')
-rw-r--r--lib/megaco/examples/meas/mstone1.sh.skel.src25
1 files changed, 24 insertions, 1 deletions
diff --git a/lib/megaco/examples/meas/mstone1.sh.skel.src b/lib/megaco/examples/meas/mstone1.sh.skel.src
index 54a6c61a58..b1935acef6 100644
--- a/lib/megaco/examples/meas/mstone1.sh.skel.src
+++ b/lib/megaco/examples/meas/mstone1.sh.skel.src
@@ -3,7 +3,7 @@
#
# %CopyrightBegin%
#
-# Copyright Ericsson AB 2007-2011. All Rights Reserved.
+# Copyright Ericsson AB 2007-2012. All Rights Reserved.
#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
@@ -55,6 +55,15 @@ Options:
flex scanner will be used
nd - only codec config(s) without drivers will be used
od - only codec config(s) with drivers will be used
+ -sbt <bind-type> Set scheduler bind type. See erl man page for more info.
+ tnnps - Thread no node processor spread (default)
+ u - Unbound
+ ns - No spread
+ ts - Thread spread
+ ps - Processor spread
+ s - Spread
+ nnts - No node thread spread
+ nnps - No node processor spread
-- everything after this is just passed on to erl.
"
@@ -67,6 +76,7 @@ MODULE=megaco_codec_mstone1
STARTF="start"
FACTOR=""
MSG_PACK=time_test
+SBT="+sbt tnnps"
while test $# != 0; do
# echo "DBG: Value = $1"
@@ -107,6 +117,17 @@ while test $# != 0; do
exit 0
esac;;
+ -sbt)
+ case $2 in
+ tnnps|u|ns|ts|ps|s|nnts|nnps)
+ SBT="+sbt $2";
+ shift ; shift ;;
+ *)
+ echo "unknown scheduler bind type: $2";
+ echo "$usage" ;
+ exit 0
+ esac;;
+
-f)
if [ "x$SCHED" != "x" ]; then
echo "option(s) -s and -f cannot both be given" ;
@@ -177,6 +198,7 @@ if [ $TYPE = factor ]; then
ERL="erl \
-noshell \
+ $SBT \
$PHS \
$ATP \
$SMP_OPTS \
@@ -218,6 +240,7 @@ elif [ $TYPE = sched ]; then
ERL="erl \
-noshell \
+ $SBT \
$PHS \
$ATP \
$SMP_OPTS \