[][src]Crate tracy_client

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 tracing-tracy.

Important note

Simply depending on this crate is sufficient for tracy to be enabled at program startup, even if none of the APIs provided by this crate are invoked. Tracy will 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.

Macros

create_plot

Create an instance of plot that can plot arbitrary f64 values.

finish_continuous_frame

Indicate that rendering of a continuous frame has ended.

start_noncontinuous_frame

Start a non-continuous frame region.

Structs

Frame

A non-continuous frame region.

Plot

A plot for plotting arbitary f64 values.

ProfiledAllocator

A profiling wrapper around an allocator.

Span

A handle representing a span of execution.

Functions

color_message

Output a message with an associated color.

message

Output a message.

set_thread_name