Skip to content

[Stats] Interpret ru_maxrss differently by platform. #15621

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

Merged

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Mar 30, 2018

Apparently there is not 100% agreement in the world about the units of the ru_maxrss field of struct rusage. Most systems report KB, though macOS reports bytes. This is horrible. Anyways, here's a patch that exists because of that.

@graydon graydon requested a review from slavapestov March 30, 2018 07:40
@graydon
Copy link
Contributor Author

graydon commented Mar 30, 2018

@swift-ci please test

@graydon graydon merged commit 5db2682 into swiftlang:master Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants