auto merge of #5335 : nnethercote/servo/profile-crate, r=glennw

- 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:
bors-servo 2015-03-24 03:15:49 -06:00
commit d1268ec9c6
36 changed files with 850 additions and 726 deletions

View file

@ -24,6 +24,9 @@ path = "../msg"
[dependencies.net]
path = "../net"
[dependencies.profile]
path = "../profile"
[dependencies.script_traits]
path = "../script_traits"

View file

@ -10,16 +10,16 @@ use dom::node::LayoutData;
use geom::point::Point2D;
use geom::rect::Rect;
use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel, UntrustedNodeAddress};
use msg::constellation_msg::{PipelineExitType, WindowSizeData};
use util::geometry::Au;
use util::memory::{MemoryReporter, MemoryReportsChan};
use profile::mem::{MemoryReporter, MemoryReportsChan};
use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel, UntrustedNodeAddress};
use std::any::Any;
use std::sync::mpsc::{channel, Receiver, Sender};
use std::boxed::BoxAny;
use style::stylesheets::Stylesheet;
use style::media_queries::MediaQueryList;
use url::Url;
use util::geometry::Au;
pub use dom::node::TrustedNodeAddress;

View file

@ -43,6 +43,7 @@ extern crate net;
extern crate "rustc-serialize" as rustc_serialize;
extern crate time;
extern crate canvas;
extern crate profile;
extern crate script_traits;
extern crate selectors;
extern crate util;