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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h

Issue 2732643003: DevTools: remove PerformanceMonitor::HandlerCall, migrate to the new scoped probes. (Closed)
Patch Set: Introduce progress monitor Created 3 years, 9 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
Index: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
index 0da7bdcb5acf06ad844638a96252c90217d11b51..ff9706fbe704fffdd01854af01f081ab71786286 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.h
@@ -46,6 +46,19 @@ class WorkerGlobalScope;
namespace probe {
+class CORE_EXPORT ProbeBase {
+ STACK_ALLOCATED()
+
+ public:
+ double captureStartTime() const;
+ double captureEndTime() const;
+ double duration() const;
+
+ private:
+ mutable double m_startTime = 0;
+ mutable double m_endTime = 0;
+};
+
class CORE_EXPORT NativeBreakpoint {
STACK_ALLOCATED();

Powered by Google App Engine
This is Rietveld 408576698