From f430648866f9ae9cfa5b0bc498b2a20a301511fb Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 3 Dec 2001 14:34:45 +0000 Subject: [PATCH] [project @ 2001-12-03 14:34:45 by simonmar] Set the default heap profiling interval to something more sensible (100ms). --- ghc/rts/RtsFlags.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/rts/RtsFlags.c b/ghc/rts/RtsFlags.c index 5424572..24a4433 100644 --- a/ghc/rts/RtsFlags.c +++ b/ghc/rts/RtsFlags.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $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 Set the maximum retainer set size (default: 8)", "", -" -i Time between heap samples (msec, default: 20)", +" -i Time between heap samples (msec, default: 100)", "", " -xc Show current cost centre stack on raising an exception", # endif -- 1.7.10.4