bloomberg / memray

Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
Apache License 2.0
13.17k stars 392 forks source link

Expose the main thread ID in the reader #560

Closed pablogsal closed 6 months ago

pablogsal commented 6 months ago

To be able to filter allocations that happened only on the thread that started the tracking, expose the main thread ID in the reader class.

Issue number of the reported bug or feature request: #

Describe your changes A clear and concise description of the changes you have made.

Testing performed Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.

Additional context Add any other context about your contribution here.