Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3579)

Unified Diff: content/renderer/render_thread_impl.h

Issue 196103006: Add V8 heap statistics in a time-line manner in tracing. (Closed) Base URL: /home/dmikurube/repos/chromium@work-sai-json
Patch Set: addressed Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/renderer/v8_heap_statistics_collector.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 92f4ebc9889ac944e22f8b1dc0d7ba6dca0d0811..26b783eb5c35f63657668985b5a8e825e6b7ef83 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -99,6 +99,7 @@ class PeerConnectionTracker;
class RendererDemuxerAndroid;
class RendererWebKitPlatformSupportImpl;
class RenderProcessObserver;
+class V8HeapStatisticsMonitor;
class VideoCaptureImplManager;
class WebGraphicsContext3DCommandBufferImpl;
class WebRTCIdentityService;
@@ -200,6 +201,10 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
return webkit_platform_support_.get();
}
+ V8HeapStatisticsMonitor* v8_heap_statistics_monitor() {
+ return v8_heap_statistics_monitor_.get();
+ }
+
IPC::ForwardingMessageFilter* compositor_output_surface_filter() const {
return compositor_output_surface_filter_.get();
}
@@ -519,6 +524,8 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// The following flag is used to control layout test specific behavior.
bool layout_test_mode_;
+ scoped_ptr<V8HeapStatisticsMonitor> v8_heap_statistics_monitor_;
+
// Timer that periodically calls IdleHandler.
base::RepeatingTimer<RenderThreadImpl> idle_timer_;
« no previous file with comments | « content/public/renderer/v8_heap_statistics_collector.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698