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

Add GetPid Function #4695

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

WangyangZhou90
Copy link

@WangyangZhou90 WangyangZhou90 commented Feb 7, 2025

Add two methods in the file GCAnalysisExt.cs:
method1:GetProcessGCData: go through the analyzer and return the first one with the given process id.
method2: GetProcessGCDataList: go through the analyzer and find the process with the given process id, and return a list of all of the ones with the said pid.

result.Add(gc);
}
}

Copy link
Member

Choose a reason for hiding this comment

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

NIT: Extra line here.

Copy link
Author

Choose a reason for hiding this comment

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

yes, deleted.

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