4 releases
0.3.3 | Jan 19, 2023 |
---|---|
0.3.2 | Nov 14, 2022 |
0.3.1 | Apr 12, 2022 |
0.3.0 | Apr 6, 2022 |
#202 in Development tools
47,528 downloads per month
Used in 18 crates
(via wasmtime-jit)
1.5MB
19K
SLoC
ittapi
This crate allows Rust programs to use Intel® Instrumentation and Tracing Technology (ITT) APIs. Currently, the following APIs are supported (please submit an issue or PR for additional support):
- a JIT notification API, a higher-level view of the C JIT Profiling API
- the Domain API
- the Task API
- the String Handle API
- the Event API
- the Collection Control API
This uses the ittapi-sys
crate which depends on the C ittapi
library.
IMPORTANT NOTE: this crate is currently only tested on Linux, macOS, and Windows platforms but support for other platforms is intended; contributions are welcome! FreeBSD is supported but untested.
If you are interested in using VTune to profile Rust applications, you may find the following guide helpful: Wasmtime Docs: Using VTune on Linux
Use
[dependencies]
ittapi = "0.3"
Build
cargo build
Test
cargo test