ittapi

Crates.ioittapi
lib.rsittapi
version0.4.0
sourcesrc
created_at2022-04-06 18:46:26.90638
updated_at2023-10-23 18:11:26.069904
descriptionHigh-level Rust bindings for ittapi
homepagehttps://github.com/intel/ittapi/tree/master/rust/ittapi
repositoryhttps://github.com/intel/ittapi
max_upload_size
id563276
size24,019
Rahul (rahulchaphalkar)

documentation

https://docs.rs/ittapi

README

ittapi

Build Status Documentation Status

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 and OpenBSD are 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
Commit count: 197

cargo fmt