Crates.io | tracy-gizmos |
lib.rs | tracy-gizmos |
version | 0.0.9 |
source | src |
created_at | 2024-01-16 18:38:36.472183 |
updated_at | 2024-02-21 13:22:31.20738 |
description | Bindings for the client library of the Tracy profiler |
homepage | |
repository | https://github.com/den-mentiei/tracy-gizmos |
max_upload_size | |
id | 1101869 |
size | 181,503 |
Bindings for the client library of the Tracy profiler.
Allows to easily instrument your code and profile it with Tracy.
Add tracy-gizmos
to your Cargo.toml
:
[dependencies]
tracy-gizmos = { version = "0.0.1", features = ["enabled"] }
The usage is pretty straight-forward (for more details refer to the docs):
fn main() {
let _tracy = tracy_gizmos::start_capture();
tracy_gizmos::zone!("main");
work();
}
Licensed under either of
at your option.
Note that the Tracy public part, that this crate uses and embeds, is licensed under the 3-clause BSD license.
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.