Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui: Use platform clock in action profiler (#63183)

Oscard4cd310edb56
diff --git a/crates/gpui/src/profiler/actions.rs b/crates/gpui/src/profiler/actions.rs
index be82af22bc7..a4892f8ac22 100644
--- a/crates/gpui/src/profiler/actions.rs
+++ b/crates/gpui/src/profiler/actions.rs
@@ -1,6 +1,7 @@
-use std::time::{Duration, Instant};
+use std::time::Duration;
use itertools::Itertools;
+use scheduler::Instant;
#[cfg(feature = "profiler")]
use crate::action::Action;