Commit f4306488 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-12-03 14:34:45 by simonmar]

Set the default heap profiling interval to something more sensible
(100ms).
parent 3178cb8b
/* -----------------------------------------------------------------------------
* $Id: RtsFlags.c,v 1.54 2001/11/28 14:55:34 simonmar Exp $
* $Id: RtsFlags.c,v 1.55 2001/12/03 14:34:45 simonmar Exp $
*
* (c) The AQUA Project, Glasgow University, 1994-1997
* (c) The GHC Team, 1998-1999
......@@ -250,7 +250,7 @@ void initRtsFlagsDefaults(void)
#ifdef PROFILING
RtsFlags.ProfFlags.doHeapProfile = rtsFalse;
RtsFlags.ProfFlags.profileInterval = 20;
RtsFlags.ProfFlags.profileInterval = 100;
RtsFlags.ProfFlags.showCCSOnException = rtsFalse;
RtsFlags.ProfFlags.maxRetainerSetSize = 8;
RtsFlags.ProfFlags.modSelector = NULL;
......@@ -435,7 +435,7 @@ usage_text[] = {
"",
" -R<size> Set the maximum retainer set size (default: 8)",
"",
" -i<msec> Time between heap samples (msec, default: 20)",
" -i<msec> Time between heap samples (msec, default: 100)",
"",
" -xc Show current cost centre stack on raising an exception",
# endif
......
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