diff options
author | Lukas Larsson <[email protected]> | 2011-07-04 13:54:40 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-08-01 16:38:18 +0200 |
commit | ece235ec75eff4368df553bcbb2024d7fd4327aa (patch) | |
tree | 3b90198c8d9ee89ad46a16a602da7ceac1045266 /lib/asn1/doc/src | |
parent | 08b244a5f9e3716cc3ee2b32422f94e7ab118d8d (diff) | |
download | otp-ece235ec75eff4368df553bcbb2024d7fd4327aa.tar.gz otp-ece235ec75eff4368df553bcbb2024d7fd4327aa.tar.bz2 otp-ece235ec75eff4368df553bcbb2024d7fd4327aa.zip |
Add documentation for nif interface
Diffstat (limited to 'lib/asn1/doc/src')
-rw-r--r-- | lib/asn1/doc/src/asn1_ug.xml | 8 | ||||
-rw-r--r-- | lib/asn1/doc/src/asn1ct.xml | 10 |
2 files changed, 16 insertions, 2 deletions
diff --git a/lib/asn1/doc/src/asn1_ug.xml b/lib/asn1/doc/src/asn1_ug.xml index 12d986308f..6d9532a475 100644 --- a/lib/asn1/doc/src/asn1_ug.xml +++ b/lib/asn1/doc/src/asn1_ug.xml @@ -4,7 +4,7 @@ <chapter> <header> <copyright> - <year>1997</year><year>2010</year> + <year>1997</year><year>2011</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -366,6 +366,12 @@ erlc -o ../asnfiles -I ../asnfiles -I /usr/local/standards/asn1 Person.asn you choose to use a linked in driver for considerable faster decode.</p> </item> + <tag><c>+nif</c></tag> + <item> + <p>Together with the flags <c>per_bin</c> or <c>ber_bin</c> + and <c>optimize</c> you choose to use a nif for considerable + faster per encode and ber decode. </p> + </item> <tag><c>+asn1config</c></tag> <item> <p>This functionality works together with the flags diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml index 265f8735c2..2c8bef5dd8 100644 --- a/lib/asn1/doc/src/asn1ct.xml +++ b/lib/asn1/doc/src/asn1ct.xml @@ -4,7 +4,7 @@ <erlref> <header> <copyright> - <year>1997</year><year>2010</year> + <year>1997</year><year>2011</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -223,6 +223,14 @@ Binary = binary() considerable faster decode. In <c>ber_bin</c> the driver is enabled only by explicit use of the option <c>driver</c>.</p> </item> + <tag><c>nif</c></tag> + <item> + <p>Option valid together with <c>ber_bin</c> and <c>optimize</c> + or <c>per_bin</c> and <c>optimize</c> options. It enables the + use of several nifs that gives faster decode for + ber and encode for per than the driver options gives. Nifs are + only enabled by the explicit use of the option <c>nif</c></p> + </item> <tag><c>asn1config</c></tag> <item> <p>When one of the specialized decodes, exclusive or |