Rust API for Optick Profiler
How to use
In Cargo.toml add:
[]
= "1.3.1"
Example usage:
GUI
Use Optick GUI to open saved *.opt capture for further analysis: https://github.com/bombomby/optick/releases
Feature flags
enable- this flag is used by default and enables Optick instrumentation
Run as Administartor to collect ETW events
Optick uses ETW to collect hardware counters: switch-contexts, auto-sampling, CPU core utilization, etc. Run your app as administrator to enable the collection of ETW events:
Start-Process cargo run -Verb runAs