#profiler #performance #tracy #api-bindings

tracy-gizmos

Bindings for the client library of the Tracy profiler

5 releases

0.0.9 Feb 21, 2024
0.0.8 Jan 31, 2024

#111 in Profiling

Download history 24/week @ 2024-01-12 8/week @ 2024-01-19 3/week @ 2024-01-26 104/week @ 2024-02-16 31/week @ 2024-02-23 6/week @ 2024-03-01 1/week @ 2024-03-08 1/week @ 2024-04-05 50/week @ 2024-04-12

51 downloads per month
Used in tracy-gizmos-attributes

MIT/Apache

435KB
7.5K SLoC

C++ 6K SLoC // 0.1% comments Rust 1.5K SLoC // 0.1% comments

🧰 tracy-gizmos

Latest Version MIT licensed Apache licensed API ci

Overview

Bindings for the client library of the Tracy profiler.

Allows to easily instrument your code and profile it with Tracy.

How to use

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();
}

License

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.

Contribution

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.

Dependencies