[Issue 16019] New: Implement a way to check GC usage stats from application
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu May 12 00:33:55 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16019
Issue ID: 16019
Summary: Implement a way to check GC usage stats from
application
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: public at 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.
--
More information about the Digitalmars-d-bugs
mailing list