diff options
| author | Thierry Berger <contact@thierryberger.com> | 2024-11-19 16:33:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 16:33:26 +0100 |
| commit | 510237cc29ebc667a8c158ef0340b7d1aa669a72 (patch) | |
| tree | 772daf3fac2e463eba254900001fce5a659f2f92 /src_testbed/physics | |
| parent | ff79f4c67478f8c8045464cac22f9e57388cd4a0 (diff) | |
| download | rapier-510237cc29ebc667a8c158ef0340b7d1aa669a72.tar.gz rapier-510237cc29ebc667a8c158ef0340b7d1aa669a72.tar.bz2 rapier-510237cc29ebc667a8c158ef0340b7d1aa669a72.zip | |
Profiling support (#743)
Diffstat (limited to 'src_testbed/physics')
| -rw-r--r-- | src_testbed/physics/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src_testbed/physics/mod.rs b/src_testbed/physics/mod.rs index 3c69f6e..b08d7f5 100644 --- a/src_testbed/physics/mod.rs +++ b/src_testbed/physics/mod.rs @@ -54,6 +54,7 @@ impl PhysicsSnapshot { }) } + #[profiling::function] pub fn restore(&self) -> bincode::Result<DeserializedPhysicsSnapshot> { Ok(DeserializedPhysicsSnapshot { timestep_id: self.timestep_id, |
