Expand description
A procedural macro attribute for instrumenting functions with
tracy-gizmos zones.
§Usage
In the Cargo.toml:
[dependencies]
tracy-gizmos-attributes = "0.0.1"The #[instrument] attribute can now be added to a
function to automatically create and enter a tracy-gizmos zone
when that function is called. For example:
#[tracy_gizmos_attributes::instrument]
fn work() {
// do stuff
}Attribute Macros§
- capture
- Instruments a function to create and start a profiling capture session.
- instrument
- Instruments a function to create and enter a zone every time the function is called.