3 unstable releases
|0.2.0||Jan 9, 2023|
|0.1.1||May 16, 2020|
|0.1.0||Feb 25, 2020|
#55 in Profiling
2,770 downloads per month
Used in 8 crates (3 directly)
Superluminal Performance profiler Rust API for adding user events to captures.
How to use
[dependencies] superluminal-perf = "0.2.0"
superluminal_perf::begin_event("my-event"); calc(); superluminal_perf::end_event(); superluminal_perf::begin_event("my-event2"); calc2(); superluminal_perf::end_event();
On non-Windows platforms the events will be compiled out.
We welcome community contributions to this project.
Please read our Contributor Guide for more information on how to get started.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Note that the Superluminal Performance C API, that this crate uses and embeds, is licensed under BSD.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.