-
Notifications
You must be signed in to change notification settings - Fork 172
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
make CollectTrace for profiling by iteration async #966
Closed
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
794e322
make CollectTrace for profiling by iteration async
staugust 44ae7fb
add method collectTrace to collect both cpu and gpu traces
staugust d339670
add function ensureCollectTraceDone to wait and cleanup collectTraceT…
staugust 7d5d147
do not call collectTrace in main thread
staugust 366ec1f
Merge branch 'main' into main2
staugust f8c6e6f
Merge branch 'main' into main2
sraikund16 bb90e40
variable name
sraikund16 70e1628
recursive mutex
sraikund16 00dcd6e
fixes"
sraikund16 67c4298
Merge branch 'main' into main2
sraikund16 5898b51
add error logic
sraikund16 833e61b
pr comments
sraikund16 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why we removed this LOG? Doesn't appear in the new function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those lines are added to the main branch after this pr. I'd rebase from master branch, and update this pr.
![image](https://private-user-images.githubusercontent.com/795370/375611827-c2014929-f3db-410a-8a60-f89126b7e16e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzOTExNzksIm5iZiI6MTczOTM5MDg3OSwicGF0aCI6Ii83OTUzNzAvMzc1NjExODI3LWMyMDE0OTI5LWYzZGItNDEwYS04YTYwLWY4OTEyNmI3ZTE2ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQyMDA3NTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iYTZmMjNiYTI4MTYzNzMxNTNmMmZiYTgzYjBiNWU3YzRmZTc0MTI0MzEyYzEwZTA0MzA1OGUzZmVjMDU2Mzc3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.AlFAf2AbtiE4JJNGSTABgNPcqVNItgp5Fogy36zooCc)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting, that diff was supposed to be only formatting hmm. I'll add it myself, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main...staugust:kineto:main2_new , I have reorganized the code on a new branch based on Kineto's main branch, hoping this will help.