[project @ 2006-01-06 11:04:07 by simonmar]
authorsimonmar <unknown>
Fri, 6 Jan 2006 11:04:07 +0000 (11:04 +0000)
committersimonmar <unknown>
Fri, 6 Jan 2006 11:04:07 +0000 (11:04 +0000)
Document -Rghc-timing

ghc/docs/users_guide/flags.xml
ghc/docs/users_guide/using.xml

index 8406184..0dde52e 100644 (file)
              <entry>static</entry>
              <entry>-</entry>
            </row>
+           <row>
+             <entry><option>-Rghc-timing</option></entry>
+             <entry>Summarise timing stats for GHC (same as <literal>+RTS -tstderr</literal>)</entry>
+             <entry>static</entry>
+             <entry>-</entry>
+           </row>
          </tbody>
        </tgroup>
       </informaltable>
@@ -1876,7 +1882,6 @@ Still to document:
 
 Misc:
   ,  ( "H"                 , HasArg (setHeapSize . fromIntegral . decodeSize) )
-  ,  ( "Rghc-timing"      , NoArg  (enableTimingStats) )
 
   -Bdir
 -->
index 761d6cf..32c194a 100644 (file)
@@ -746,6 +746,19 @@ ghc -c Foo.hs</screen>
          it).</para>
        </listitem>
       </varlistentry>
+
+      <varlistentry>
+        <term><option>-Rghc-timing</option>
+        <indexterm><primary><option>-Rghc-timing</option></primary></indexterm>
+        </term>
+        <listitem>
+          <para>Prints a one-line summary of timing statistics for the
+          GHC run.  This option is equivalent to
+          <literal>+RTS&nbsp;-tstderr</literal>, see <xref
+          linkend="rts-options-gc" />.
+          </para>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </sect1>