-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support showing the global bus events metrics #93
Comments
Thanks for your interest in iai-callgrind. There are different possibilities in place to achieve collecting global bus events (and the other optional callgrind events): You can switch on main!(
config = LibraryBenchmarkConfig::default()
.raw_callgrind_args(["--collect-bus=yes"]);
...
); The global bus events are printed in the
with arguments
|
thanks for the reply!
Well, this worked nice!
yeah, i saw like this:
Or, using the cli with environment variables
however, this didn't work for some reason.
and this didn't too. |
Oops. Sorry, the environment variable changed to For [lib]
bench = false and if you have binaries [[bin]]
name = "my-binary"
path = "src/bin/my-binary.rs"
bench = false |
You can always use |
Is it working now? |
hi, thanks for maintaining this crate. i found this useful. :)
Callgrind supports collecting global bus events. This is useful for measuring how much atomic instructions are issued for given algorithm:
However,
iai-callgrind
doesn't support this? Ideally, I'd like to see this output when it's given with opt-in cli flag like--collect-bus
:The text was updated successfully, but these errors were encountered: