utils/test-dce.sh
changeset 275 9055b93b8b08
child 362 1772a9cae1e6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utils/test-dce.sh	Thu Sep 20 11:17:36 2012 +0900
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+. ./utils/setenv.sh
+#VERBOSE=""
+
+echo -n "Cooja (non-vdl) + Pthread:  "
+NS_ATTRIBUTE_DEFAULT='ns3::TaskManager::FiberManagerType=PthreadFiberManager' ./build/bin/ns3test-dce $VERBOSE
+echo -n "Cooja (non-vdl) + Ucontext: "
+NS_ATTRIBUTE_DEFAULT='ns3::TaskManager::FiberManagerType=UcontextFiberManager' ./build/bin/ns3test-dce $VERBOSE
+
+echo -n "Cooja (vdl) + Pthread:      "
+NS_ATTRIBUTE_DEFAULT='ns3::DceManagerHelper::LoaderFactory=ns3::CoojaLoaderFactory[];ns3::TaskManager::FiberManagerType=PthreadFiberManager' ./build/bin/ns3test-dce-vdl $VERBOSE
+
+echo -n "Cooja (vdl) + Ucontext:     "
+NS_ATTRIBUTE_DEFAULT='ns3::DceManagerHelper::LoaderFactory=ns3::CoojaLoaderFactory[];ns3::TaskManager::FiberManagerType=UcontextFiberManager' ./build/bin/ns3test-dce-vdl $VERBOSE
+
+echo -n "Dlm (vdl) + Pthread:        "
+NS_ATTRIBUTE_DEFAULT='ns3::DceManagerHelper::LoaderFactory=ns3::DlmLoaderFactory[];ns3::TaskManager::FiberManagerType=PthreadFiberManager' ./build/bin/ns3test-dce-vdl $VERBOSE
+echo -n "Dlm (vdl) + Ucontext:       "
+NS_ATTRIBUTE_DEFAULT='ns3::DceManagerHelper::LoaderFactory=ns3::DlmLoaderFactory[];ns3::TaskManager::FiberManagerType=UcontextFiberManager' ./build/bin/ns3test-dce-vdl $VERBOSE