aboutsummaryrefslogtreecommitdiffstats
path: root/lib/megaco/examples/meas/mstone1.sh.skel.src
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-03-19 14:54:26 +0100
committerMicael Karlberg <[email protected]>2012-03-19 14:54:26 +0100
commit662e3ffeed74d9121315d86af46430dd71e01709 (patch)
tree544ced81c3d9e0de9823e844ca1cce8d8e28cf30 /lib/megaco/examples/meas/mstone1.sh.skel.src
parent3087769515ea9bfc75f7d7b8897bc897c7f13931 (diff)
parent78cbfaad628aa2d548432e251ef0943b46a502b2 (diff)
downloadotp-662e3ffeed74d9121315d86af46430dd71e01709.tar.gz
otp-662e3ffeed74d9121315d86af46430dd71e01709.tar.bz2
otp-662e3ffeed74d9121315d86af46430dd71e01709.zip
Merge branch 'bmk/megaco/megaco31601_integration/r15' into maint
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 \