#[capture]
Expand description
Generate profiling capture for the selected function Saves capture to {working_dir}/capture_name(date-time).opt Note: You could use full path for the name (e.g. “D:/captures/game”)
Example: #[optick_attr::capture(“capture_name”)] pub fn main() { calc(); }