Skip to content
  • Ben Gamari's avatar
    rts/Profiling: Factor out report generation · 56c9bb39
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    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
    56c9bb39