Opened 7 years ago

Closed 7 years ago

#4889 closed defect (fixed)

Provide GC statistics as an OMC API

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: high Milestone: 1.13.0
Component: Interactive Environment Version:
Keywords: Cc: krisztian.mocsai@…, akos.horvath@…

Description

Just that.

Change History (2)

comment:1 by Adrian Pop, 7 years ago

Owner: changed from somebody to Adrian Pop
Status: newaccepted

comment:2 by Adrian Pop, 7 years ago

Cc: krisztian.mocsai@… akos.horvath@… added
Resolution: fixed
Status: acceptedclosed

Fixed in: de3a487895630021a3054dd3b810c050dbede943/OMCompiler.
Information that you get via GC_get_prof_stats();

record GC_PROFSTATS
    heapsize_full = 212570112,
    free_bytes_full = 4296704,
    unmapped_bytes:  = 0,
    bytes_allocd_since_gc = 44952448,
    allocd_bytes_before_gc = 210973472,
    total_allocd_bytes = 255925920,
    non_gc_bytes = -32,
    gc_no = 12,
    markers_m1 = 7,
    bytes_reclaimed_since_gc = 15720752,
    reclaimed_bytes_before_gc = 32960752
end GC_PROFSTATS;
Note: See TracTickets for help on using tickets.