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

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

Issue 1866753002: Add new timing mechanism to ftrace. (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: Created 4 years, 8 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/ftrace_agent_unittest.py
diff --git a/systrace/systrace/tracing_agents/ftrace_agent_unittest.py b/systrace/systrace/tracing_agents/ftrace_agent_unittest.py
index 9fb4aaa08745edeeefd74bc59600e0504e447c23..2937b2d45b23c0fd9514e8be7e5cad58a04f590c 100755
--- a/systrace/systrace/tracing_agents/ftrace_agent_unittest.py
+++ b/systrace/systrace/tracing_agents/ftrace_agent_unittest.py
@@ -126,14 +126,6 @@ class FtraceAgentTest(unittest.TestCase):
self.assertEqual(permitted_files[irq_event_path], "0")
self.assertEqual(permitted_files[ipi_event_path], "0")
- def test_trace_time(self):
- systrace_cmd = SYSTRACE_HOST_CMD_DEFAULT + ['-t', '10']
- options, categories = run_systrace.parse_options(systrace_cmd)
- agent = ftrace_agent.FtraceAgent()
- agent._options = options
- agent._categories = categories
- self.assertEqual(agent._get_trace_time(), 10)
-
def test_buffer_size(self):
systrace_cmd = SYSTRACE_HOST_CMD_DEFAULT + ['-b', '16000']
options, categories = run_systrace.parse_options(systrace_cmd)

Powered by Google App Engine
This is Rietveld 408576698