-
Notifications
You must be signed in to change notification settings - Fork 122
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
How to use the self-profiler API? #1173
Comments
The profiling API is not available from within a DDlog program. It can be invoked from a DDlog command file or from a C, Rust, or Java client. How are you using DDlog and in what context would you like to use profiling? |
Also please note that this project is no longer being actively maintained. |
Can't I call the profiler API in the ddlog program? I am currently analyzing the resource consumption of the ddlog program, but I feel that the HTML file obtained by ‘profile’ from the ddlog command line does not meet my current expectations. I hope to be able to directly present the results of the profiler as strings by calling relevant APIs. |
Nope, there is no way to do this inside the program. |
This is actually a much harder problem that you may expect. |
I want to know that how to use the self-profiler API in the ddlog program.(And I don't know how to use the function introduced in profiler.md such as 'arrangement_size_profile'). Or is there any example file in the test directory?
The text was updated successfully, but these errors were encountered: