all: use tracy for tracing
This commit is contained in:
parent
50186e764e
commit
ccad3cf0fb
56 changed files with 647 additions and 171 deletions
15
src/tracy.rs
Normal file
15
src/tracy.rs
Normal 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};
|
||||
Loading…
Add table
Add a link
Reference in a new issue