git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/testeventdev: add perf basic functions
[dpdk.git]
/
app
/
test-eventdev
/
test_perf_common.h
diff --git
a/app/test-eventdev/test_perf_common.h
b/app/test-eventdev/test_perf_common.h
index
ab5c082
..
442ec99
100644
(file)
--- a/
app/test-eventdev/test_perf_common.h
+++ b/
app/test-eventdev/test_perf_common.h
@@
-82,7
+82,15
@@
struct test_perf {
uint8_t sched_type_list[EVT_MAX_STAGES] __rte_cache_aligned;
} __rte_cache_aligned;
uint8_t sched_type_list[EVT_MAX_STAGES] __rte_cache_aligned;
} __rte_cache_aligned;
+struct perf_elt {
+ uint64_t timestamp;
+} __rte_cache_aligned;
+
+int perf_test_result(struct evt_test *test, struct evt_options *opt);
int perf_test_setup(struct evt_test *test, struct evt_options *opt);
int perf_test_setup(struct evt_test *test, struct evt_options *opt);
+int perf_mempool_setup(struct evt_test *test, struct evt_options *opt);
void perf_test_destroy(struct evt_test *test, struct evt_options *opt);
void perf_test_destroy(struct evt_test *test, struct evt_options *opt);
+void perf_eventdev_destroy(struct evt_test *test, struct evt_options *opt);
+void perf_mempool_destroy(struct evt_test *test, struct evt_options *opt);
#endif /* _TEST_PERF_COMMON_ */
#endif /* _TEST_PERF_COMMON_ */