Commit e2553a4c by François Dumont Committed by Paolo Carlini

profile_mode.xml: Minor updates and fixes.

2010-02-22  François Dumont  <francois.cppdevs@free.fr>

       * doc/xml/manual/profile_mode.xml: Minor updates and fixes.
       * doc/xml/manual/debug_mode.xml: Likewise.
       * doc/xml/manual/test.xml: Likewise.

From-SVN: r156975
parent 8d774623
2010-02-22 François Dumont <francois.cppdevs@free.fr>
* doc/xml/manual/profile_mode.xml: Minor updates and fixes.
* doc/xml/manual/debug_mode.xml: Likewise.
* doc/xml/manual/test.xml: Likewise.
2010-02-22 Paolo Carlini <paolo.carlini@oracle.com> 2010-02-22 Paolo Carlini <paolo.carlini@oracle.com>
* include/tr1_impl/complex (arg): Use std::signbit only when * include/tr1_impl/complex (arg): Use std::signbit only when
......
...@@ -629,7 +629,7 @@ namespace std ...@@ -629,7 +629,7 @@ namespace std
</programlisting> </programlisting>
<para>In debug mode we include the release-mode container (which is now <para>In debug mode we include the release-mode container (which is now
defined in in the namespace <code>__norm</code>) and also the defined in the namespace <code>__norm</code>) and also the
debug-mode container. The debug-mode container is defined within the debug-mode container. The debug-mode container is defined within the
namespace <code>__debug</code>, which is associated with namespace namespace <code>__debug</code>, which is associated with namespace
<code>std</code> via the C++0x namespace association language feature. This <code>std</code> via the C++0x namespace association language feature. This
...@@ -672,7 +672,7 @@ namespace std ...@@ -672,7 +672,7 @@ namespace std
debug-mode components</title> debug-mode components</title>
<para>Because each component has a distinct and separate release and <para>Because each component has a distinct and separate release and
debug implementation, there are are no issues with link-time debug implementation, there is no issue with link-time
coexistence: the separate namespaces result in different mangled coexistence: the separate namespaces result in different mangled
names, and thus unique linkage.</para> names, and thus unique linkage.</para>
...@@ -799,7 +799,7 @@ test02() ...@@ -799,7 +799,7 @@ test02()
enticing option, because it would eliminate the need for enticing option, because it would eliminate the need for
the <code>link_name</code> extension by aliasing the the <code>link_name</code> extension by aliasing the
templates. However, there is no true template aliasing mechanism templates. However, there is no true template aliasing mechanism
is C++, because both <code>using</code> directives and using in C++, because both <code>using</code> directives and using
declarations disallow specialization. This method fails declarations disallow specialization. This method fails
the <emphasis>correctness</emphasis> criteria.</para></listitem> the <emphasis>correctness</emphasis> criteria.</para></listitem>
......
...@@ -128,7 +128,7 @@ vector-size: improvement = 3: call stack = 0x804842c ... ...@@ -128,7 +128,7 @@ vector-size: improvement = 3: call stack = 0x804842c ...
The warning message. For some warnings, this is static text, e.g., The warning message. For some warnings, this is static text, e.g.,
"change vector to list". For other warnings, such as the one above, "change vector to list". For other warnings, such as the one above,
the message contains numeric advice, e.g., the suggested initial size the message contains numeric advice, e.g., the suggested initial size
of the hashtable. of the vector.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
...@@ -199,7 +199,7 @@ vector-size: improvement = 3: call stack = 0x804842c ... ...@@ -199,7 +199,7 @@ vector-size: improvement = 3: call stack = 0x804842c ...
Make the library not use threads. If thread local storage (TLS) is not Make the library not use threads. If thread local storage (TLS) is not
available, you will get a preprocessor error asking you to set available, you will get a preprocessor error asking you to set
-D_GLIBCXX_PROFILE_NO_THREADS if your program is single-threaded. -D_GLIBCXX_PROFILE_NO_THREADS if your program is single-threaded.
Multithreded execution without TLS is not supported. Multithreaded execution without TLS is not supported.
(Environment variable not supported.) (Environment variable not supported.)
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
...@@ -536,7 +536,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones. ...@@ -536,7 +536,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
xreflabel="Using the Standard Library in the Runtime Library"> xreflabel="Using the Standard Library in the Runtime Library">
<title>Using the Standard Library in the Instrumentation Implementation</title> <title>Using the Standard Library in the Instrumentation Implementation</title>
<para> <para>
As much as we would like to avoid uses of stdlibc++ within our As much as we would like to avoid uses of libstdc++ within our
instrumentation library, containers such as unordered_map are very instrumentation library, containers such as unordered_map are very
appealing. We plan to use them as long as they are named properly appealing. We plan to use them as long as they are named properly
to avoid ambiguity. to avoid ambiguity.
...@@ -551,7 +551,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones. ...@@ -551,7 +551,7 @@ it helps the user focus on the key problems and ignore the uninteresting ones.
User applications/libraries can provide malloc hooks. User applications/libraries can provide malloc hooks.
When the implementation of the malloc hooks uses stdlibc++, there can When the implementation of the malloc hooks uses stdlibc++, there can
be an infinite cycle between the profile mode instrumentation and the be an infinite cycle between the profile mode instrumentation and the
the malloc hook code. malloc hook code.
</para> </para>
<para> <para>
We protect against reentrance to the profile mode instrumentation code, We protect against reentrance to the profile mode instrumentation code,
......
...@@ -837,7 +837,7 @@ only default variables. ...@@ -837,7 +837,7 @@ only default variables.
</para> </para>
<para> <para>
Random code paths can be constructed using the the basic test Random code paths can be constructed using the basic test
sequences and instrumentation as above, only combined in a sequences and instrumentation as above, only combined in a
random or pseudo-random way. random or pseudo-random way.
</para> </para>
...@@ -891,7 +891,7 @@ only default variables. ...@@ -891,7 +891,7 @@ only default variables.
Which has several tests for container member functions, Which has several tests for container member functions,
Includes control and test container objects. Configuration includes Includes control and test container objects. Configuration includes
random seed, iterations, number of distinct values, and the random seed, iterations, number of distinct values, and the
probability that and exception will be thrown. Assumes instantiating probability that an exception will be thrown. Assumes instantiating
container uses an extension container uses an extension
allocator, <classname>__gnu_cxx::throw_allocator_random</classname>, allocator, <classname>__gnu_cxx::throw_allocator_random</classname>,
as the allocator type. as the allocator type.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment