Skip to content

Enable adding setup statistics #974

Open
nirandaperera wants to merge 1 commit intorapidsai:mainfrom
nirandaperera:setup_stats
Open

Enable adding setup statistics #974
nirandaperera wants to merge 1 commit intorapidsai:mainfrom
nirandaperera:setup_stats

Conversation

@nirandaperera
Copy link
Copy Markdown
Contributor

This PR enables adding setup stats. Main usecase is to record pinned pool creation time. But we can add more stats later if needed

Signed-off-by: niranda perera <niranda.perera@gmail.com>
@nirandaperera nirandaperera requested a review from a team as a code owner April 17, 2026 00:51
@nirandaperera nirandaperera added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Apr 17, 2026
*
* @return A reference to the set of setup statistics prefixes.
*/
std::unordered_set<std::string> const& get_setup_stats_prefixes() const;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we avoid the new prefix semantic and just let the user specify a mem_type? I think the current design is general enough to handle this without introducing a special setup_stats_prefixes_ handle?

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

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants