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

Supporting Additional Load Formats #91

Open
ehidia opened this issue Oct 15, 2021 · 1 comment
Open

Supporting Additional Load Formats #91

ehidia opened this issue Oct 15, 2021 · 1 comment
Assignees

Comments

@ehidia
Copy link

ehidia commented Oct 15, 2021

Thanks for this great tool.

Are there plans to support additional load formats, specifically pstat?

The use case is to be able to load existing pstat profiles, merge with a new stat and visualize the merged profile using a tool like SnakeViz.

If this can't be supported, is there a way to visualize ystat?

Thanks.

@sumerc sumerc self-assigned this Oct 18, 2021
@sumerc
Copy link
Owner

sumerc commented Oct 18, 2021

Thank you!

Well, it is doable by adding a value to _SUPPORTED_LOAD_FORMATS = ['YSTAT'] and implementing a method in YFuncStats object with def _add_from_PSTAT(self, file):. For the implementation: we need to do the reverse of what we are doing in convert2pstats function.

However, for the time being, I don't have time to do this. If there is any help on this, I can help. Otherwise, it should sit a while.

_SUPPORTED_SAVE_FORMATS = ['YSTAT', 'CALLGRIND', 'PSTAT']

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

No branches or pull requests

2 participants