mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move profiler code from util
into a new crate profile
.
- Most of util::memory has been moved into profile::mem, though the `SizeOf` trait and related things remain in util::memory. The `SystemMemoryReporter` code is now in a submodule profile::mem::system_reporter. - util::time has been moved entirely into profile::time.
This commit is contained in:
parent
cad58b3bec
commit
52447ccd9b
36 changed files with 850 additions and 726 deletions
|
@ -19,6 +19,9 @@ path = "../msg"
|
|||
[dependencies.net]
|
||||
path = "../net"
|
||||
|
||||
[dependencies.profile]
|
||||
path = "../profile"
|
||||
|
||||
[dependencies.util]
|
||||
path = "../util"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ extern crate gfx;
|
|||
extern crate script_traits;
|
||||
extern crate msg;
|
||||
extern crate net;
|
||||
extern crate profile;
|
||||
extern crate url;
|
||||
extern crate util;
|
||||
|
||||
|
@ -19,11 +20,11 @@ use gfx::paint_task::PaintChan;
|
|||
use msg::constellation_msg::{ConstellationChan, Failure, PipelineId, PipelineExitType};
|
||||
use net::image_cache_task::ImageCacheTask;
|
||||
use net::resource_task::ResourceTask;
|
||||
use url::Url;
|
||||
use util::memory::MemoryProfilerChan;
|
||||
use util::time::TimeProfilerChan;
|
||||
use profile::mem::MemoryProfilerChan;
|
||||
use profile::time::TimeProfilerChan;
|
||||
use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel};
|
||||
use std::sync::mpsc::{Sender, Receiver};
|
||||
use url::Url;
|
||||
|
||||
/// Messages sent to the layout task from the constellation
|
||||
pub enum LayoutControlMsg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue