www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16019] New: Implement a way to check GC usage stats from


          Issue ID: 16019
           Summary: Implement a way to check GC usage stats from
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: public dicebot.lv

The last remaining difference between our internal D2 compiler and vanilla
2.070 is addition of small stats function to runtime:

void gc_usage ( ref size_t used, ref size_t available );

We use it for two main cases:

1) verify GC usage of library utilities
2) doing live reporting of app performance in quick info console

Martin Nowak told it should be relatively easy to provide one (or similar)
based on existing internal stat system, thus exposing the enhancement request
to outer world.

May 12 2016