OSDN Git Service

Add read bandwidth and small refactor.
authorChristopher Ferris <cferris@google.com>
Thu, 2 May 2013 22:12:11 +0000 (15:12 -0700)
committerChristopher Ferris <cferris@google.com>
Fri, 3 May 2013 01:07:31 +0000 (18:07 -0700)
commit1a3794a84074d7f22b8ddaba840aedd758a14cdd
treee8e2890e3dc63f57b419234a4beb43b503eb76d9
parent1685d00d0a6b905a820a76c9686b6b4b077dfe4a
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
tests/memtest/bandwidth.cpp
tests/memtest/bandwidth.h
tests/memtest/memtest.cpp