From 9f3ea3e4b9271851e14ddbe6b8d00affdac41bb1 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Mon, 27 Mar 2017 12:25:58 +0100 Subject: [PATCH] app/crypto-perf: remove cyclecount test type Cyclecount test was not implemented, so it is removed. Signed-off-by: Pablo de Lara Acked-by: Sergio Gonzalez Monroy --- app/test-crypto-perf/cperf_options.h | 1 - app/test-crypto-perf/cperf_options_parsing.c | 4 ---- app/test-crypto-perf/main.c | 2 -- 3 files changed, 7 deletions(-) diff --git a/app/test-crypto-perf/cperf_options.h b/app/test-crypto-perf/cperf_options.h index 96b751111b..c0d919fdae 100644 --- a/app/test-crypto-perf/cperf_options.h +++ b/app/test-crypto-perf/cperf_options.h @@ -36,7 +36,6 @@ enum cperf_perf_test_type { CPERF_TEST_TYPE_THROUGHPUT, - CPERF_TEST_TYPE_CYCLECOUNT, CPERF_TEST_TYPE_LATENCY }; diff --git a/app/test-crypto-perf/cperf_options_parsing.c b/app/test-crypto-perf/cperf_options_parsing.c index d6afc8548f..f93e0c17a4 100644 --- a/app/test-crypto-perf/cperf_options_parsing.c +++ b/app/test-crypto-perf/cperf_options_parsing.c @@ -66,10 +66,6 @@ parse_cperf_test_type(struct cperf_options *opts, const char *arg) cperf_test_type_strs[CPERF_TEST_TYPE_THROUGHPUT], CPERF_TEST_TYPE_THROUGHPUT }, - { - cperf_test_type_strs[CPERF_TEST_TYPE_CYCLECOUNT], - CPERF_TEST_TYPE_CYCLECOUNT - }, { cperf_test_type_strs[CPERF_TEST_TYPE_LATENCY], CPERF_TEST_TYPE_LATENCY diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index fb3f72e10f..063ee477ad 100644 --- a/app/test-crypto-perf/main.c +++ b/app/test-crypto-perf/main.c @@ -12,7 +12,6 @@ const char *cperf_test_type_strs[] = { [CPERF_TEST_TYPE_THROUGHPUT] = "throughput", - [CPERF_TEST_TYPE_CYCLECOUNT] = "cycle-count", [CPERF_TEST_TYPE_LATENCY] = "latency" }; @@ -30,7 +29,6 @@ const struct cperf_test cperf_testmap[] = { cperf_throughput_test_runner, cperf_throughput_test_destructor }, - [CPERF_TEST_TYPE_CYCLECOUNT] = { NULL }, [CPERF_TEST_TYPE_LATENCY] = { cperf_latency_test_constructor, cperf_latency_test_runner, -- 2.20.1