Crate profiling[][src]

Macros

finish_frame

Finishes the frame. This isn’t strictly necessary for some kinds of applications but a pretty normal thing to track in games.

register_thread

Registers a thread with the profiler API(s). This is usually setting a name for the thread. Two variants:

scope

Opens a scope. Two variants:

Attribute Macros

function

Proc macro for creating a scope around the function, using the name of the function for the scope’s name