Skip to content

Prefer the term metric over stat #1332

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
merged 2 commits into from
May 19, 2022
Merged

Prefer the term metric over stat #1332

merged 2 commits into from
May 19, 2022

Conversation

rylev
Copy link
Member

@rylev rylev commented May 19, 2022

Currently, the code uses the term "stat" ambiguously. Sometimes it refers to a specific number statistic (e.g., 57,341,606,128 instruction counts recorded), and sometimes it refers to a class of statistic (e.g., "instruction counts"). The glossary disambiguates these two using the term "stat(istic)" for the former and "metric" for the later. This PR brings the code into alignment with the glossary.

Note: the API still uses "stat" for what is now called "metric". Since change the API is a little more error prone, I suggest we save that for a follow-up.

@rylev rylev requested a review from Kobzol May 19, 2022 14:27
@rylev rylev merged commit 2484444 into rust-lang:master May 19, 2022
@rylev rylev deleted the metric branch May 19, 2022 16:04
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