• Douglas Wilson's avatar
    Fix Work Balance computation in RTS stats · 7c9e356d
    Douglas Wilson authored
    An additional stat is tracked per gc: par_balanced_copied This is the
    the number of bytes copied by each gc thread under the balanced lmit,
    which is simply (copied_bytes / num_gc_threads).  The stat is added to
    all the appropriate GC structures, so is visible in the eventlog and in
    A note is added explaining how work balance is computed.
    Remove some end of line whitespace
    Test Plan:
    experiment with the program attached to the ticket
    examine code changes carefully
    Reviewers: simonmar, austin, hvr, bgamari, erikd
    Reviewed By: simonmar
    Subscribers: Phyx, rwbarton, thomie
    GHC Trac Issues: #13830
    Differential Revision: https://phabricator.haskell.org/D3658
EventLogFormat.h 10.4 KB