Add -gcbehavior mode that only prints summary stats at the end of the run

RESOLVED FIXED

Status

RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: lhansen, Assigned: lhansen)

Tracking

Details

(Whiteboard: has-patch)

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Right now -gcbehavior prints a block of data at the end of every GC.  For many use cases we're really only interested in the accumulated data at the end, and it would be good for -gcbehavior to support that use case.

For example, a new switch -gcsummary might print that.
(Assignee)

Comment 1

8 years ago
Created attachment 472963 [details] [diff] [review]
Add a -gcsummary switch
Attachment #472963 - Flags: review?(rulohani)
(Assignee)

Updated

8 years ago
Whiteboard: has-patch

Comment 2

8 years ago
Looks ok. One minor thing:
 In comment: "Print gross history and policy decisions (MMGC_POLICY_PROFILING): 0=off, 1=at end, 2=after every gc"

option 2 should say "2=after every gc and at end"

Updated

8 years ago
Attachment #472963 - Flags: review?(rulohani) → review+
(Assignee)

Comment 3

8 years ago
Fixed comment and pushed:

tamarin-redux changeset:   5175:9cc0f45f2186
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.