blob: 8e0317c615a469456e72a38f1395e890c4d777f0 [file] [log] [blame]
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3.
# For instructions on how to: go/tauto-py3-migration
# To re-enable migrate to Python 3.
# If the test is not migrated by 1/14/22 it will be deleted.
NAME = 'hardware_MemoryLatency'
AUTHOR = 'sonnyrao@chromium.org'
PURPOSE = 'Benchmark memory and cache access latency'
CRITERIA = 'This test is a benchmark.'
ATTRIBUTES = "suite:hwqual, suite:kernel_daily_benchmarks"
TIME='MEDIUM'
TEST_CATEGORY = 'Performance'
TEST_CLASS = "hardware"
TEST_TYPE = 'client'
ATTRIBUTES = "suite:memory_qual2"
DOC = """
This test will use the lat_mem_rd benchmark from lmbench3 to measure memory
latency.
"""
# test with samples added at points which should roughly correspond to
# L1, L2, L3 (if any) and the final size will tell us DRAM latency
job.run_test('hardware_MemoryLatency',
sample_size_kb=[ int(2), int(192), int(1024)])