X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fruntime_control.xml;h=e89f340430ddf77e7e6504898cc2db6549d35deb;hb=622e67a80631c7528ebfa51e9a863c27e74f1c6b;hp=6a3a9e3ee7eb8539b38bf900050d150cd4ab0aa8;hpb=c5a97ea01a810333608ef1e26f5cb5422dd25928;p=ghc-hetmet.git diff --git a/docs/users_guide/runtime_control.xml b/docs/users_guide/runtime_control.xml index 6a3a9e3..e89f340 100644 --- a/docs/users_guide/runtime_control.xml +++ b/docs/users_guide/runtime_control.xml @@ -85,6 +85,46 @@ + + Miscellaneous RTS options + + + + + RTS + option + + Sets the interval that the RTS clock ticks at. The + runtime uses a single timer signal to count ticks; this timer + signal is used to control the context switch timer () and the heap profiling + timer . Also, the + time profiler uses the RTS timer signal directly to record + time profiling samples. + + Normally, setting the option + directly is not necessary: the resolution of the RTS timer is + adjusted automatically if a short interval is requested with + the or options. + However, setting is required in order to + increase the resolution of the time profiler. + + + + + + RTS + option + + If yes (the default), the RTS installs signal handlers to catch + things like ctrl-C. This option is primarily useful for when + you are using the Haskell code as a DLL, and want to set your + own signal handlers. + + + + + RTS options to control the garbage collector @@ -402,7 +442,7 @@ The RTS options related to profiling are described in , those for concurrency in - , and those for parallelism in + , and those for parallelism in .