mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Sort use
statements
This commit is contained in:
parent
45f7199eee
commit
76e59a46d3
162 changed files with 444 additions and 431 deletions
|
@ -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.
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
//! Timing functions.
|
||||
|
||||
use crate::heartbeats;
|
||||
use crate::std_time::precise_time_ns;
|
||||
use crate::trace_dump::TraceDump;
|
||||
use influent::client::{Client, Credentials};
|
||||
use influent::create_client;
|
||||
use influent::measurement::{Measurement, Value};
|
||||
|
@ -22,8 +24,6 @@ use std::fs::File;
|
|||
use std::io::{self, Write};
|
||||
use std::path::Path;
|
||||
use std::time::Duration;
|
||||
use crate::std_time::precise_time_ns;
|
||||
use crate::trace_dump::TraceDump;
|
||||
use tokio;
|
||||
use tokio::prelude::Future;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue