app/crypto-perf: remove cyclecount test type
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 27 Mar 2017 11:25:58 +0000 (12:25 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
Cyclecount test was not implemented, so it is removed.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
app/test-crypto-perf/cperf_options.h
app/test-crypto-perf/cperf_options_parsing.c
app/test-crypto-perf/main.c

index 96b7511..c0d919f 100644 (file)
@@ -36,7 +36,6 @@
 
 enum cperf_perf_test_type {
        CPERF_TEST_TYPE_THROUGHPUT,
-       CPERF_TEST_TYPE_CYCLECOUNT,
        CPERF_TEST_TYPE_LATENCY
 };
 
index d6afc85..f93e0c1 100644 (file)
@@ -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
index fb3f72e..063ee47 100644 (file)
@@ -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,