summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorNathan Long <him@nathanmlong.com>2022-04-21 09:50:54 -0400
committerNathan Long <him@nathanmlong.com>2022-04-22 11:47:30 -0400
commit8693f22cc9a0ffc5d30232b83c4d64cb6e015b1b (patch)
treebfa448805f7e7bfdd7d7a281b428e94da10d5fc2 /system
parenta7b98023a770dae237c6733ef4b287f29615f6bb (diff)
downloaderlang-8693f22cc9a0ffc5d30232b83c4d64cb6e015b1b.tar.gz
Show how to get the system word size
Diffstat (limited to 'system')
-rw-r--r--system/doc/efficiency_guide/advanced.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/doc/efficiency_guide/advanced.xml b/system/doc/efficiency_guide/advanced.xml
index c545d22a8a..bdcf92529b 100644
--- a/system/doc/efficiency_guide/advanced.xml
+++ b/system/doc/efficiency_guide/advanced.xml
@@ -39,7 +39,9 @@
<p>The unit of measurement is memory words. There exists both a
32-bit and a 64-bit implementation. A word is therefore 4 bytes or
- 8 bytes, respectively.</p>
+ 8 bytes, respectively. The value for a running system can be
+ determined by calling <seeerl marker="erts:erlang#system_info_wordsize">
+ <c>erlang:system_info(wordsize)</c></seeerl>.</p>
<table>
<row>
<cell><em>Data Type</em></cell>