aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-05-30 18:53:31 +0200
committerRickard Green <[email protected]>2016-05-30 18:53:31 +0200
commit78afa937314431a90b1fd34c145fe7dfe799c0d4 (patch)
tree2e52119fa5915b1d3e0ba7fd6217457b50a4c515 /lib
parentbf46ff0561ee64cc99f30da30a52ca5268af134e (diff)
downloadotp-78afa937314431a90b1fd34c145fe7dfe799c0d4.tar.gz
otp-78afa937314431a90b1fd34c145fe7dfe799c0d4.tar.bz2
otp-78afa937314431a90b1fd34c145fe7dfe799c0d4.zip
Update TS platform_id with off-heap msgq
Diffstat (limited to 'lib')
-rw-r--r--lib/common_test/test_server/ts_install.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/common_test/test_server/ts_install.erl b/lib/common_test/test_server/ts_install.erl
index b906eb21f5..5734bd0787 100644
--- a/lib/common_test/test_server/ts_install.erl
+++ b/lib/common_test/test_server/ts_install.erl
@@ -332,11 +332,12 @@ platform(Vars) ->
LC = lock_checking(),
MT = modified_timing(),
AsyncThreads = async_threads(),
+ OffHeapMsgQ = off_heap_msgq(),
Debug = debug(),
CpuBits = word_size(),
Common = lists:concat([Hostname,"/",OsType,"/",CpuType,CpuBits,LinuxDist,
Schedulers,BindType,KP,IOTHR,LC,MT,AsyncThreads,
- Debug,ExtraLabel]),
+ OffHeapMsgQ,Debug,ExtraLabel]),
PlatformId = lists:concat([ErlType, " ", Version, Common]),
PlatformLabel = ErlType ++ Common,
PlatformFilename = platform_as_filename(PlatformId),
@@ -400,6 +401,12 @@ async_threads() ->
_ -> ""
end.
+off_heap_msgq() ->
+ case catch erlang:system_info(message_queue_data) of
+ off_heap -> "/OffHeapMsgQ";
+ _ -> ""
+ end.
+
schedulers() ->
case catch erlang:system_info(smp_support) of
true ->