[commit: ghc] master: rts/Profiling: Factor out report generation (56c9bb3)

git at git.haskell.org git at git.haskell.org
Sun Feb 12 01:08:58 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/56c9bb39246f9ffd8ed41a0656bfe8e60d23be57/ghc

>---------------------------------------------------------------

commit 56c9bb39246f9ffd8ed41a0656bfe8e60d23be57
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Sat Feb 11 19:21:22 2017 -0500

    rts/Profiling: Factor out report generation
    
    Here we move the actual report generation logic to
    `rts/ProfilerReport.c`. This break is actually quite clean,
    
        void writeCCSReport( FILE *prof_file, CostCentreStack const *ccs,
                             ProfilerTotals totals );
    
    This is more profiler refactoring in preparation for machine-readable
    output.
    
    Test Plan: Validate
    
    Reviewers: austin, erikd, simonmar
    
    Reviewed By: simonmar
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3097


>---------------------------------------------------------------

56c9bb39246f9ffd8ed41a0656bfe8e60d23be57
 rts/ProfilerReport.c | 331 +++++++++++++++++++++++++++++++++++++++++++++++++++
 rts/ProfilerReport.h |  28 +++++
 rts/Profiling.c      | 322 ++-----------------------------------------------
 rts/Profiling.h      |  11 +-
 4 files changed, 374 insertions(+), 318 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 56c9bb39246f9ffd8ed41a0656bfe8e60d23be57


More information about the ghc-commits mailing list