Skip to content

Commit

Permalink
Add tracing-tracy frame marker in profiling::finish_frame!() for the …
Browse files Browse the repository at this point in the history
…tracing backend (#82)
  • Loading branch information
teddemunnik authored Sep 29, 2024
1 parent 9fe80e8 commit 7010df4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion profiling/src/tracing_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ macro_rules! register_thread {

#[macro_export]
macro_rules! finish_frame {
() => {};
() => {
$crate::tracing::event!($crate::tracing::Level::INFO, tracy.frame_mark = true);
};
}

0 comments on commit 7010df4

Please sign in to comment.