diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-12-21 15:29:56 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-12-21 15:29:56 +0000 |
commit | db0c13a482893243cc829bbc253862e65f437cbe (patch) | |
tree | 96e3977a77b92f102c03518d826368cec5cd1229 /includes/mkDerivedConstants.c | |
parent | 1d7a3cf332532b1f9d798b44e76c4be6f0c74dcf (diff) | |
download | haskell-db0c13a482893243cc829bbc253862e65f437cbe.tar.gz |
Count allocations more accurately
The allocation stats (+RTS -s etc.) used to count the slop at the end
of each nursery block (except the last) as allocated space, now we
count the allocated words accurately. This should make allocation
figures more predictable, too.
This has the side effect of reducing the apparent allocations by a
small amount (~1%), so remember to take this into account when looking
at nofib results.
Diffstat (limited to 'includes/mkDerivedConstants.c')
-rw-r--r-- | includes/mkDerivedConstants.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c index 0ed7ec67da..d00e428394 100644 --- a/includes/mkDerivedConstants.c +++ b/includes/mkDerivedConstants.c @@ -246,7 +246,7 @@ main(int argc, char *argv[]) struct_size(generation); struct_field(generation, mut_list); - struct_field(generation, n_new_large_blocks); + struct_field(generation, n_new_large_words); struct_size(CostCentreStack); struct_field(CostCentreStack, ccsID); |