[commit: ghc] master: rts/Profiling: Kill a few globals and add consts (1a14d38)
git at git.haskell.org
git at git.haskell.org
Sun Feb 12 01:08:50 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1a14d384136ce91d3469f462d192c3721b27fbd5/ghc
>---------------------------------------------------------------
commit 1a14d384136ce91d3469f462d192c3721b27fbd5
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Sat Feb 11 19:20:56 2017 -0500
rts/Profiling: Kill a few globals and add consts
Previously it was quite difficult to follow the dataflow through this
file due to global mutation and rather non-descriptive types.
This is a cleanup in preparation for factoring out the report-generating
logic, which is itself in preparation for somedayteaching the profiler
to produce more machine-readable reports (JSON perhaps?).
Test Plan: Validate
Reviewers: austin, erikd, simonmar
Reviewed By: simonmar
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D3096
>---------------------------------------------------------------
1a14d384136ce91d3469f462d192c3721b27fbd5
rts/Profiling.c | 113 +++++++++++++++++++++++++++++++-------------------------
rts/Profiling.h | 8 +++-
2 files changed, 70 insertions(+), 51 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 1a14d384136ce91d3469f462d192c3721b27fbd5
More information about the ghc-commits
mailing list