Skip to content
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

Extend CPU User Annotations to End of Profile #986

Closed
wants to merge 1 commit into from

Conversation

sraikund16
Copy link
Contributor

Summary: If a CPU User Annotation doesn't end by the time the profile ends, the annotation is marked as a 0-length event. This can be annoying to look at because it seems like profiler just never got the annotation event when it did. Lets set the end time to the end of profiling.

Differential Revision: D62604717

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62604717

Copy link
Member

@aaronenyeshi aaronenyeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and makes sense!

Summary:
Pull Request resolved: pytorch#986

If a CPU User Annotation doesn't end by the time the profile ends, the annotation is marked as a 0-length event. This can be annoying to look at because it seems like profiler just never got the annotation event when it did. Lets set the end time to the end of profiling.

Reviewed By: aaronenyeshi

Differential Revision: D62604717
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62604717

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2f7ce6f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants