1 # Copyright 2015 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = "Nemanja Vasic <nvasic (a] google.com>" 6 NAME = "hardware_TLBMissCost" 7 TIME = "SHORT" 8 TEST_CATEGORY = "Functional" 9 TEST_CLASS = "hardware" 10 TEST_TYPE = "client" 11 ATTRIBUTES = "suite:experimental" 12 SUITE = "experimental" 13 14 DOC = """ 15 Calculate cost of a TLB miss 16 17 Arguments: 18 events: Events to pass to perf stat -e 19 program: Benchmark binary 20 """ 21 22 job.run_test('hardware_TLBMissCost', tag='TLBMissCost', 23 events=('cycles', 'iTLB-misses'), 24 program='iTLB_benchmark') 25