Skip to content

runtime: add timestamp to gctrace=1 output #9830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
schmichael opened this issue Feb 10, 2015 · 1 comment
Closed

runtime: add timestamp to gctrace=1 output #9830

schmichael opened this issue Feb 10, 2015 · 1 comment

Comments

@schmichael
Copy link
Contributor

A timestamp for gctrace=1's output would be very useful for external tooling wishing to visualize or aggregate gc logs.

Relevant log line: https://github.com/golang/go/blob/master/src/runtime/mgc.go#L1668-L1676

Seems like using either t0 or t4 would be the most useful. This way all of the phase timings could be easily translated to absolute times by an external tool.

Original post: https://groups.google.com/forum/#!topic/golang-nuts/CG4BrJ0ZD6Q

@mikioh mikioh changed the title Add timestamp to gctrace=1 output runtime: add timestamp to gctrace=1 output Feb 10, 2015
@rsc
Copy link
Contributor

rsc commented Apr 10, 2015

@aclements did this as part of redoing the entire line.

@rsc rsc closed this as completed Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants