aboutsummaryrefslogtreecommitdiffstats
path: root/components/profile/mem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/profile/mem.rs')
-rw-r--r--components/profile/mem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/profile/mem.rs b/components/profile/mem.rs
index e1354ab1eb4..83756722e61 100644
--- a/components/profile/mem.rs
+++ b/components/profile/mem.rs
@@ -4,6 +4,7 @@
//! Memory profiling functions.
+use crate::time::duration_from_seconds;
use ipc_channel::ipc::{self, IpcReceiver};
use ipc_channel::router::ROUTER;
use profile_traits::mem::{ProfilerChan, ProfilerMsg, ReportKind, Reporter, ReporterRequest};
@@ -13,7 +14,6 @@ use std::cmp::Ordering;
use std::collections::HashMap;
use std::thread;
use std::time::Instant;
-use crate::time::duration_from_seconds;
pub struct Profiler {
/// The port through which messages are received.