www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9820] New: Add memory usage profiler

http://d.puremagic.com/issues/show_bug.cgi?id=9820

           Summary: Add memory usage profiler
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: bugzilla digitalmars.com


--- Comment #0 from Walter Bright <bugzilla digitalmars.com> 2013-03-26
12:00:08 PDT ---
If a 64 bit counter in the GC's allocator was added to count bytes of memory
allocated, then the existing profiling code could be trivially adjusted to read
that counter rather than the elapsed time counter.

This would generate a nice report of memory consumption by function.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 26 2013