1# Copyright (c) 2014 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 5NAME = 'hardware_MemoryLatency' 6AUTHOR = 'sonnyrao@chromium.org' 7PURPOSE = 'Benchmark memory and cache access latency' 8CRITERIA = 'This test is a benchmark.' 9ATTRIBUTES = "suite:hwqual, suite:kernel_daily_benchmarks" 10TIME='MEDIUM' 11TEST_CATEGORY = 'Performance' 12TEST_CLASS = "hardware" 13TEST_TYPE = 'client' 14 15DOC = """ 16This test will use the lat_mem_rd benchmark from lmbench3 to measure memory 17latency. 18""" 19 20# test with samples added at points which should roughly correspond to 21# L1, L2, L3 (if any) and the final size will tell us DRAM latency 22job.run_test('hardware_MemoryLatency', 23 sample_size_kb=[ int(2), int(192), int(1024)]) 24