History log of /system/extras/tests/memtest/bandwidth.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f943d1bc0adb5e4de0415f5fa6380f0a585b2e2a 08-Feb-2017 Yunlian Jiang <yunlian@google.com> fix potential leak of memory pointed.

This fixes the warning
warning: Potential leak of memory pointed to by field 'bench'

Bug: None
Test: The warning is gone.
Change-Id: Ief00a2f040b0a9700040e1c13856f24e3e7c817d
/system/extras/tests/memtest/bandwidth.cpp
d31537bd2702335773211399eec9e81467f1c379 14-Dec-2016 Yunlian Jiang <yunlian@google.com> fix warning: Potential leak of memory pointed to by 'bench'

Bug: None
Test: The warning is gone.
Change-Id: Ifbe4550b372333f81bc0ff88b25687dfd0b64be9
/system/extras/tests/memtest/bandwidth.cpp
fb829a48d844b9769c5a52d1bb4d40d51ff4b6bc 10-Nov-2015 Ben Cheng <bccheng@google.com> Fix a size specification bug for the bandwidth test.

Change-Id: I38b5dc89edafd1768caa34158c2746c7ef35c31e
/system/extras/tests/memtest/bandwidth.cpp
8f1da8fe2db97aff22320776b46adcd2333cc5a9 05-Nov-2015 Christopher Ferris <cferris@google.com> Allow creating 32 bit memtest on arm64.

Also do a bit of cleanup in the makefile and a few of the files.

Change-Id: I10d9442a5105f47fe361b5b4fb031989150429d3
/system/extras/tests/memtest/bandwidth.cpp
dc847e65b80fc2dd00f2b70b2443e1a0df042cd6 16-Nov-2014 Dan Albert <danalbert@google.com> Move system/extras to libc++.

Bug: 15193147
Change-Id: I2188179aa315b6b94493135cfb243d5a9018fd10
/system/extras/tests/memtest/bandwidth.cpp
65d2c7894a93f66ea41d55f843285e7e7bdbf488 03-Jul-2013 Christopher Ferris <cferris@google.com> Add vldr vstr type benchmarking.

Change-Id: Ib8d9ac401feacbfd2e0862ad0e5fd2c13a233c58
/system/extras/tests/memtest/bandwidth.cpp
f90ab5f4ab00ddfbcf313be9001837aaefd64ba2 03-May-2013 Christopher Ferris <cferris@google.com> Fix a few incorrect return codes.

Change-Id: I91b9e3cfc443698963e2e98fc4378bf92e5bfd95
/system/extras/tests/memtest/bandwidth.cpp
1a3794a84074d7f22b8ddaba840aedd758a14cdd 03-May-2013 Christopher Ferris <cferris@google.com> Add read bandwidth and small refactor.

- Addition of read bandwidth test.
- Move the allocation of all buffers used for testing into the
setSize() function.
- Add a canRun function to indicate whether a test is able to
run on this platform. Currently, this only disables neon bandwidth
tests on platforms that don't support neon.
- Refactor the thread testing functions to use one common routine.

Change-Id: I4ebed7d20100f57e93fd10bbe9dbbb53b50cd4a6
/system/extras/tests/memtest/bandwidth.cpp
1348ce27ee9bb8e50a3294879c1523fa4b4d8f8b 12-Apr-2013 Christopher Ferris <cferris@google.com> Adding a few bandwidth tests.

New tests being added:
- copy_bandwidth: Gathers the copy bandwidth using four different
hand-coded assembler routines and using memcpy.
- write_bandwidth: Gathers the write bandwidth using four different
hand-coded assembler routines and using memset.
- per_core_bandwidth: Launches a thread of any one of the write/copy
bandwidth tests locked to every available core on the machine.
- multithread_bandwidth: Launches a user specified number of threads running
any one of the write/copy bandwidth tests.

Each of the tests can be modified as to the size of the data to manipulate
and the number of loops to run.

Deleted tests:
- memcpy (a better memcpy benchmark can be found in system/extras/micro_bench)
- memset (a better memset benchmark can be found in system/extras/micro_bench)
- memcmp (no real replacement, but I plan to add this to micro_bench)
- strlen (no real replacement, but I plan to add this to micro_bench)
- cpufreq (this doesn't work any more)

All verification tests have been mostly shifted to system/extras/libc_test.

Change-Id: I70d1e27da3b2ff1a4c8fc257e03b9c43c8c9e7cc
/system/extras/tests/memtest/bandwidth.cpp