#tracing #open-harmony #hitrace #harmony-os

hitrace-sys

Bindings to the HiTrace tracing system of OpenHarmony

2 releases

0.1.1 Apr 19, 2024
0.1.0 Apr 18, 2024

#5 in #open-harmony

Download history 223/week @ 2024-04-13 47/week @ 2024-04-20

270 downloads per month
Used in 2 crates

Apache-2.0

7KB

hitrace-sys

Rust-bindings for hiTraceMeter on OpenHarmony. hiTraceMeter provides APIs for system performance tracing. Available since OpenHarmony 4.0 (API-level 10). Please view the Hitrace NDK guidelines for usage details.

Development

The bindings are generated via bindgen and committed to the repository, since the API is stable.

License

This repository is licensed under the Apache-2.0 license, matching the license of OpenHarmony.


lib.rs:

Raw bindings for the HiTrace tracing system on OpenHarmony

The official Hitrace NDK guidelines describe the available API. Rust users should likely not use this crate directly, but instead use an abstraction on top of this crate.

No runtime deps