diff options
author | Nicholas Nethercote <nnethercote@mozilla.com> | 2015-03-23 16:48:54 -0700 |
---|---|---|
committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2015-03-24 02:09:31 -0700 |
commit | 52447ccd9b1889b21d5a5c8057a72e98a5ee96ea (patch) | |
tree | 31d7332914a1c5a08e1a70b4905aae3251923a12 /components/layout/layout_task.rs | |
parent | cad58b3bec03586fd7d81e6fa45831803efd2350 (diff) | |
download | servo-52447ccd9b1889b21d5a5c8057a72e98a5ee96ea.tar.gz servo-52447ccd9b1889b21d5a5c8057a72e98a5ee96ea.zip |
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.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 08658f05d03..2c15e643b9c 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -43,6 +43,9 @@ use msg::constellation_msg::{ConstellationChan, Failure, PipelineExitType, Pipel use net::image_cache_task::{ImageCacheTask, ImageResponseMsg}; use net::local_image_cache::{ImageResponder, LocalImageCache}; use net::resource_task::{ResourceTask, load_bytes_iter}; +use profile::mem::{MemoryProfilerChan, MemoryProfilerMsg, MemoryReport, MemoryReportsChan}; +use profile::time::{TimeProfilerCategory, ProfilerMetadata, TimeProfilerChan}; +use profile::time::{TimerMetadataFrameType, TimerMetadataReflowType, profile}; use script::dom::bindings::js::LayoutJS; use script::dom::element::ElementTypeId; use script::dom::htmlelement::HTMLElementTypeId; @@ -70,14 +73,11 @@ use url::Url; use util::cursor::Cursor; use util::geometry::Au; use util::logical_geometry::LogicalPoint; -use util::memory::{MemoryProfilerChan, MemoryProfilerMsg, MemoryReport, MemoryReportsChan}; use util::memory::{SizeOf}; use util::opts; use util::smallvec::{SmallVec, SmallVec1, VecLike}; use util::task::spawn_named_with_send_on_failure; use util::task_state; -use util::time::{TimeProfilerCategory, ProfilerMetadata, TimeProfilerChan}; -use util::time::{TimerMetadataFrameType, TimerMetadataReflowType, profile}; use util::workqueue::WorkQueue; /// Mutable data belonging to the LayoutTask. |