added infrastructure to handle interval and CSV time profiling alongside html-timeline-profiling

This commit is contained in:
Rohit Zambre 2016-05-11 11:27:07 -07:00
parent 81246a7b61
commit ca3084d241
9 changed files with 214 additions and 92 deletions

View file

@ -118,7 +118,7 @@ impl Browser {
let (compositor_proxy, compositor_receiver) =
window.create_compositor_channel();
let supports_clipboard = window.supports_clipboard();
let time_profiler_chan = profile_time::Profiler::create(opts.time_profiler_period,
let time_profiler_chan = profile_time::Profiler::create(&opts.time_profiling,
opts.time_profiler_trace_path.clone());
let mem_profiler_chan = profile_mem::Profiler::create(opts.mem_profiler_period);
let devtools_chan = opts.devtools_port.map(|port| {