Expand description

This crate is a set of safe bindings to the client library of the Tracy profiler.

If you have already instrumented your application with tracing, consider the tracing-tracy crate.

Important note

Depending on the configuration Tracy may broadcast discovery packets to the local network and expose the data it collects in the background to that same network. Traces collected by Tracy may include source and assembly code as well.

As thus, you may want make sure to only enable the tracy-client crate conditionally, via the enable feature flag provided by this crate.

Features

Refer to the sys crate for documentation on crate features. This crate re-exports all the features from sys.

Re-exports

pub use sys;

Macros

Construct a FrameName.

Construct a PlotName.

Start a new Tracy span with function, file, and line determined automatically.

Construct a &’static SpanLocation.

Structs

A type representing an enabled Tracy client.

A non-continuous frame region.

A name for secondary and non-continuous frames.

Name of a plot.

A profiling wrapper around another allocator.

A handle representing a span of execution.

A statically allocated location information for a span.