diff options
| author | Mica White <botahamec@outlook.com> | 2026-10-31 10:59:52 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-10-31 10:59:52 -0400 |
| commit | fde01cceb898b944b646a8fed1ce81cb14e523ef (patch) | |
| tree | d1d5c97350fbbba2cc522c1f539c320ad4c2d1fc /src/time.rs | |
| parent | 0c128e472b1b49e32c313874eaeccc8c5f1b1202 (diff) | |
Testing and optimization
Diffstat (limited to 'src/time.rs')
| -rw-r--r-- | src/time.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/time.rs b/src/time.rs index 5978b57..d6f9e89 100644 --- a/src/time.rs +++ b/src/time.rs @@ -19,6 +19,7 @@ impl TimeContext { } pub fn next_frame(&mut self) { + #[cfg(feature = "puffin")] puffin::profile_scope!("update time"); self.last_frame = self.current_frame; self.current_frame = Instant::now(); |
