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

Unified Diff: client/tests/tracing_microbenchmark/control

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month 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: client/tests/tracing_microbenchmark/control
diff --git a/client/tests/tracing_microbenchmark/control b/client/tests/tracing_microbenchmark/control
new file mode 100644
index 0000000000000000000000000000000000000000..ec7017b46494dadb8d3b3196b4b440778769ef71
--- /dev/null
+++ b/client/tests/tracing_microbenchmark/control
@@ -0,0 +1,28 @@
+AUTHOR = "David Sharp <dhsharp@google.com>"
+NAME = "Tracing microbenchmark"
+TIME = "SHORT"
+TEST_CATEGORY = "Benchmark"
+TEST_CLASS = "Kernel"
+TEST_TYPE = "client"
+
+DOC = """
+A simple benchmark of kernel tracers such as ftrace. Enables tracepoints in
+sys_getuid and makes 100,000 calls to getuid with tracing on and off to measure
+the overhead of enabling tracing. The intent for this benchmark is to not
+overflow the ring buffer, so the buffer is generously sized.
+
+
+tracer: tracepoint enabled
+------
+off: n/a
+ftrace: syscalls:sys_enter_getuid
+
+Args:
+ tracer: see table above.
+ buffer_size_kb: Set the tracing ring buffer to this size (per-cpu).
+ calls: Set the number of calls to make to getuid.
+"""
+
+
+job.run_test('tracing_microbenchmark', tracer='off', tag='off', iterations=10)
+job.run_test('tracing_microbenchmark', tracer='ftrace', tag='ftrace', iterations=10)
« no previous file with comments | « client/tests/tracing_microbenchmark/base_tracer.py ('k') | client/tests/tracing_microbenchmark/src/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698