{"repo":"SparkyPotato/tracy_full","free":true,"listed":false,"github":"https://github.com/SparkyPotato/tracy_full","clone":"git clone https://github.com/SparkyPotato/tracy_full.git","description":"Safe, fully-featured bindings to the Tracy profiler","language":"Rust","stars":31,"topics":["bevy","gpu","rust","tracing","tracy","wgpu"],"license":"MIT","category":"analytics","readme_excerpt":"Complete Rust bindings for the Tracy profiler. Getting Started Just add the following to your Cargo.toml : To enable profiling for a build, add the enable feature: Features Allocation Tracking This tracks all allocations, using the default System allocator for allocations. For a custom allocator: Tracy also supports tracking custom allocators using the allocator api feature: This creates a memory pool named TrackedAllocator in Tracy. All the allocators have a Sampled variant that samples the callstack on each allocation. Frame Marks Mark the end of the main frame using: Mark the end of a sub-frame using: Mark the scope of a discontinuous frame using: The difference between frame types The main frame what is usually thought of as a 'frame'. It is usually placed after the swapchain present call on the main thread. Sub-frames are parts of the main frame, for example, input gathering, physics, and rendering: Discontinuous frames are frames that are not in sync with the frame on the main thread. This can be things like async asset loading on different threads. Plotting You can plot graphs in Tracy: Zones All zones profile from creation to the end of the enclosed scope. Extra features Future support Futures can be represented as fibers in Tracy. The futures feature must be enabled. Unstable The unstable feature allows for optimizations that require a nightly compiler. External Library Integration bevy Enable the bevy feature to be able to profile Bevy systems. This creates a separa","default_branch":null,"files":null,"tree":[],"storefront":"/r/SparkyPotato","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SparkyPotato/tracy_full/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}