Profiling support (#743)

This commit is contained in:
Thierry Berger
2024-11-19 16:33:26 +01:00
committed by GitHub
parent ff79f4c674
commit 510237cc29
56 changed files with 185 additions and 635 deletions

View File

@@ -96,6 +96,7 @@ impl<N: Copy, E> InteractionGraph<N, E> {
}
/// The interaction between the two collision objects identified by their graph index.
#[profiling::function]
pub fn interaction_pair(
&self,
id1: ColliderGraphIndex,
@@ -111,6 +112,7 @@ impl<N: Copy, E> InteractionGraph<N, E> {
}
/// The interaction between the two collision objects identified by their graph index.
#[profiling::function]
pub fn interaction_pair_mut(
&mut self,
id1: ColliderGraphIndex,