-
Notifications
You must be signed in to change notification settings - Fork 106
chore(cli/core/types): allow disabling ix profiling #301
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
Conversation
crates/core/src/runloops/mod.rs
Outdated
| .initialize( | ||
| simnet.slot_time, | ||
| &remote_rpc_client, | ||
| config.simnets[0].do_profile_instructions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| config.simnets[0].do_profile_instructions, | |
| simnet.do_profile_instructions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
crates/core/src/surfnet/svm.rs
Outdated
| write_version: 0, | ||
| registered_idls: HashMap::new(), | ||
| feature_set, | ||
| do_profile_instructions: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| do_profile_instructions: true, | |
| instruction_profiling_enabled: true, |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
crates/core/src/surfnet/locker.rs
Outdated
| }) | ||
| } | ||
|
|
||
| pub fn do_profile_instructions(&self) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| pub fn do_profile_instructions(&self) -> bool { | |
| pub fn is_instruction_profiling_enabled(&self) -> bool { |
could be more readable / conventional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
No description provided.