mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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
|
@ -11,6 +11,7 @@ extern crate compositing;
|
|||
extern crate devtools;
|
||||
extern crate net;
|
||||
extern crate msg;
|
||||
extern crate profile;
|
||||
#[macro_use]
|
||||
extern crate util;
|
||||
extern crate script;
|
||||
|
@ -40,9 +41,9 @@ use net::storage_task::{StorageTaskFactory, StorageTask};
|
|||
#[cfg(not(test))]
|
||||
use gfx::font_cache_task::FontCacheTask;
|
||||
#[cfg(not(test))]
|
||||
use util::time::TimeProfiler;
|
||||
use profile::mem::MemoryProfiler;
|
||||
#[cfg(not(test))]
|
||||
use util::memory::MemoryProfiler;
|
||||
use profile::time::TimeProfiler;
|
||||
#[cfg(not(test))]
|
||||
use util::opts;
|
||||
#[cfg(not(test))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue