app/crypto-perf: refactor common test code
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 4 Oct 2017 03:46:06 +0000 (04:46 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 12 Oct 2017 14:14:45 +0000 (15:14 +0100)
commit253624f46c9d34e6970ffa0dd709bb30399547fd
tree43879c8ae1aa36eb218b301faf513ab6e6bb7628
parent761fd95d82a4b5ee035a5140030e22d2581335ea
app/crypto-perf: refactor common test code

Currently, there is some duplication in all the test types,
in the crypto performance application.

In order to improve maintainability of this code,
and ease future work on it, common functions have been separated
in a different file that gets included in all the tests.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test-crypto-perf/Makefile
app/test-crypto-perf/cperf_test_common.c [new file with mode: 0644]
app/test-crypto-perf/cperf_test_common.h [new file with mode: 0644]
app/test-crypto-perf/cperf_test_latency.c
app/test-crypto-perf/cperf_test_pmd_cyclecount.c
app/test-crypto-perf/cperf_test_throughput.c
app/test-crypto-perf/cperf_test_verify.c