Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
e1ddf51a
Commit
e1ddf51a
authored
Jun 27, 2007
by
Simon Marlow
Browse files
+RTS -V0 disables the interval timer completely (for repeatable debugging)
parent
65ff44fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
rts/RtsFlags.c
View file @
e1ddf51a
...
...
@@ -403,7 +403,7 @@ usage_text[] = {
" -C<secs> Context-switch interval in seconds."
,
" 0 or no argument means switch as often as possible."
,
" Default: 0.02 sec; resolution is set by -V below."
,
" -V<secs> Master tick interval in seconds."
,
" -V<secs> Master tick interval in seconds
(0 == disable timer)
."
,
" This sets the resolution for -C and the profile timer -i."
,
" Default: 0.02 sec."
,
""
,
...
...
rts/Timer.c
View file @
e1ddf51a
...
...
@@ -85,7 +85,9 @@ void
startTimer
(
void
)
{
initProfTimer
();
startTicker
(
RtsFlags
.
MiscFlags
.
tickInterval
,
handle_tick
);
if
(
RtsFlags
.
MiscFlags
.
tickInterval
!=
0
)
{
startTicker
(
RtsFlags
.
MiscFlags
.
tickInterval
,
handle_tick
);
}
}
void
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment