Profiling support (#743)
This commit is contained in:
@@ -54,6 +54,7 @@ impl PhysicsSnapshot {
|
||||
})
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn restore(&self) -> bincode::Result<DeserializedPhysicsSnapshot> {
|
||||
Ok(DeserializedPhysicsSnapshot {
|
||||
timestep_id: self.timestep_id,
|
||||
|
||||
Reference in New Issue
Block a user