blob: 270ebbe090b946a444f45d40ea202863361b619b [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.
NAME = 'hardware_MemoryThroughput.cache_copy_1thread'
PURPOSE = 'Benchmark sequential throughput for read, write, and copy'
CRITERIA = 'This test is a benchmark.'
TEST_CATEGORY = 'Performance'
TEST_CLASS = 'hardware'
TEST_TYPE = 'client'
DOC = """
This uses the lmbench 3 bw_mem benchmark for reads, writes, and copy
For write and copy it uses C standard library functions memcpy and
memset, which are generally optimized for the target.
job.run_test('hardware_MemoryThroughput', test='bcopy', warmup=100,
num_iterations=100, parallel=1,
sizes=[ 4096, 192 * 1024, 512 * 1024])