-
Notifications
You must be signed in to change notification settings - Fork 31
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
benchmark non-python programs #35
Comments
I've found out that this can be done by simply writing a wrapper using |
I would vote for reopening this issue because I'm sure there are other people wanting to do the same thing (like me). A command-line wrapper would indeed be very handy. @Pzoom522 maybe you can share your wrapper or contribute it to the repo? |
Surely I will. I will put my workaround here later this week. |
@cifkao Basically, I found that this tool is tracking the usage of everything the main program initialises until the main program terminates. Therefore, I chose to directly start a non-python process using import os
from experiment_impact_tracker.compute_tracker import ImpactTracker
tracker = ImpactTracker(<your log directory here>)
tracker.launch_impact_monitor()
os.system(<your command here>) Dear maintainers, please let me know if this workaround is correct, so I can make a pull request. |
Hi, thanks for this great project! I'm wondering whether it's possible to track the usage of non-python programs, e.g., C++ code? And how?
The text was updated successfully, but these errors were encountered: