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

Unified Diff: systrace/systrace/tracing_agents/__init__.py

Issue 2712163002: [Systrace] Fix systrace clock syncing issue with BattOr. (Closed)
Patch Set: Created 3 years, 10 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: systrace/systrace/tracing_agents/__init__.py
diff --git a/systrace/systrace/tracing_agents/__init__.py b/systrace/systrace/tracing_agents/__init__.py
index 859d7795c1ea97d075737816db9824d88eb97e10..d8f22cdbc361bcc12f5acdd6729ca783dbc942a2 100644
--- a/systrace/systrace/tracing_agents/__init__.py
+++ b/systrace/systrace/tracing_agents/__init__.py
@@ -41,7 +41,7 @@ class TracingAgent(object):
Returns:
Boolean value indicating whether or not the trace started successfully.
'''
- pass
+ raise NotImplementedError
def StopAgentTracing(self, timeout=None):
'''Stops running the trace for this agent and returns immediately.
@@ -53,7 +53,7 @@ class TracingAgent(object):
Returns:
Boolean value indicating whether or not the trace started successfully.
'''
- pass
+ raise NotImplementedError
def SupportsExplicitClockSync(self):
'''Find out if this agent supports recording of clock sync markers.
@@ -85,7 +85,11 @@ class TracingAgent(object):
Args:
timeout: Timeout interval in seconds.
+ builder: Trace data builder.
Returns:
Completed trace for this agent.
'''
pass
+
+ def CollectAgentTraceData(self, trace_data_builder):
+ raise NotImplementedError

Powered by Google App Engine
This is Rietveld 408576698