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

Side by Side Diff: client/samples/control.oprofile

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/samples/control.kbuild_and_tests ('k') | client/samples/control.oprofile_power5 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 AUTHOR = "Autotest Team <autotest@test.kernel.org>"
2 TIME = "MEDIUM"
3 NAME = "Sample - Using profilers"
4 TEST_TYPE = "client"
5 TEST_CLASS = "Kernel"
6 TEST_CATEGORY = "Functional"
7
8 DOC = """
9 Runs our sleeptest (bogus test that only sleeps for a given amount of time),
10 while running the oprofile profilers, with and without special parameters
11 passed to the profiler.
12 """
13
14 import logging
15
16 logging.info("Testing default event")
17 job.profilers.add('oprofile')
18 job.run_test('sleeptest', seconds=5, tag='default')
19 job.profilers.delete('oprofile')
20
21 logging.info("Testing ICACHE_MISSES")
22 job.profilers.add('oprofile', 'ICACHE_MISSES:100000')
23 job.run_test('sleeptest', seconds=5, tag='icache_misses')
24 job.profilers.delete('oprofile')
OLDNEW
« no previous file with comments | « client/samples/control.kbuild_and_tests ('k') | client/samples/control.oprofile_power5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698