1
0
Fork 0
forked from wry/wry

all: use tracy for tracing

This commit is contained in:
Julian Orth 2024-09-15 18:08:54 +02:00
parent 50186e764e
commit ccad3cf0fb
56 changed files with 647 additions and 171 deletions

15
src/tracy.rs Normal file
View file

@ -0,0 +1,15 @@
#[cfg(feature = "tracy")]
#[macro_use]
mod tracy_impl;
#[cfg(feature = "tracy")]
use tracy_impl as imp;
#[cfg(not(feature = "tracy"))]
#[macro_use]
mod tracy_noop;
#[cfg(not(feature = "tracy"))]
use tracy_noop as imp;
pub use imp::{enable_profiler, FrameName, ZoneName};