Skip to content
  • jberryman's avatar
    02e68a86
    Add a cumulative gc_sync_elapsed_ns counter to GHC.Internal.Stats · 02e68a86
    jberryman authored and Marge Bot's avatar Marge Bot committed
    This makes it possible to get an accurate view of time spent in sync
    phase when using prometheus-style sampling. Previously this was only
    available for the most recent GC.
    
    This intentionally leaves GHC.Stats API unchanged since it is marked as
    deprecated, and API changes there require CLC approval.
    
    Fixes #26944
    02e68a86
    Add a cumulative gc_sync_elapsed_ns counter to GHC.Internal.Stats
    jberryman authored and Marge Bot's avatar Marge Bot committed
    This makes it possible to get an accurate view of time spent in sync
    phase when using prometheus-style sampling. Previously this was only
    available for the most recent GC.
    
    This intentionally leaves GHC.Stats API unchanged since it is marked as
    deprecated, and API changes there require CLC approval.
    
    Fixes #26944
Loading