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.
- function_
scope - Opens a scope automatically named after the current function.
- 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§
- all_
functions - Proc macro for creating a scope around each function under struct impl block
- function
- Proc macro for creating a scope around the function, using the name of the function for the scope’s name
- skip
- Proc macro to skip the auto_impl for the function