X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsFlags.c;h=3c78d10452017f30e45f1c2249fa4cefcbbd96a2;hb=76a51a41211a151d68a90e8dd732aeea1da17847;hp=d9e51fc1245346ea6a5a3c2b3f3e0ac93a0ca08d;hpb=dfd7d6d02a597949b08161ae3d49dc6dfc9e812d;p=ghc-hetmet.git diff --git a/ghc/rts/RtsFlags.c b/ghc/rts/RtsFlags.c index d9e51fc..3c78d10 100644 --- a/ghc/rts/RtsFlags.c +++ b/ghc/rts/RtsFlags.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsFlags.c,v 1.41 2001/07/23 17:23:19 simonmar Exp $ + * $Id: RtsFlags.c,v 1.42 2001/07/23 23:37:35 andy Exp $ * * (c) The AQUA Project, Glasgow University, 1994-1997 * (c) The GHC Team, 1998-1999 @@ -403,9 +403,9 @@ usage_text[] = { #if defined(PROFILING) || defined(PAR) "", " -px Time/allocation profile (XML) (output file .prof)", -" -p Time/allocation profile (output file .prof)", -" sort: T = time (default), A = alloc, C = cost centre label", -" -P More detailed Time/Allocation profile", +" -p Time/allocation profile (output file .prof)", +" -P More detailed Time/Allocation profile", +" -Pa Give information about *all* cost centres", # if defined(PROFILING) "", @@ -745,6 +745,9 @@ error = rtsTrue; case 'x': RtsFlags.CcFlags.doCostCentres = COST_CENTRES_XML; break; + case 'a': + RtsFlags.CcFlags.doCostCentres = COST_CENTRES_ALL; + break; default: RtsFlags.CcFlags.doCostCentres = COST_CENTRES_SUMMARY; break;