Skip to content

Support memory profiling#6

Merged
AdventureT merged 2 commits intoAdventureT:masterfrom
InfiniteC0re:master
Apr 21, 2025
Merged

Support memory profiling#6
AdventureT merged 2 commits intoAdventureT:masterfrom
InfiniteC0re:master

Conversation

@InfiniteC0re
Copy link
Copy Markdown
Contributor

@InfiniteC0re InfiniteC0re commented Apr 21, 2025

Integrating any profiling tools (e.g. Tracy) can help with tracking all memory allocations and frees to debug memory leaks, also helps a lot in profiling performance

Integrating Tracy is pretty easy:
https://github.com/InfiniteC0re/OpenBarnyard/blob/main/Toshi/Source/Core/TMemory.cpp#L213
https://github.com/InfiniteC0re/OpenBarnyard/blob/main/Toshi/Source/Core/TMemory.cpp#L277

Comment thread Toshi/Source/TKernel/TPile.cpp Outdated
Copy link
Copy Markdown
Owner

@AdventureT AdventureT left a comment

Choose a reason for hiding this comment

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

Could you squash this commit?

@InfiniteC0re
Copy link
Copy Markdown
Contributor Author

Could you squash this commit?

done

@AdventureT AdventureT merged commit 671ae27 into AdventureT:master Apr 21, 2025
1 check passed
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