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/testpmd: add latency statistics calculation
[dpdk.git]
/
app
/
test-pmd
/
testpmd.h
diff --git
a/app/test-pmd/testpmd.h
b/app/test-pmd/testpmd.h
index
5c18151
..
d541790
100644
(file)
--- a/
app/test-pmd/testpmd.h
+++ b/
app/test-pmd/testpmd.h
@@
-1,7
+1,7
@@
/*-
* BSD LICENSE
*
/*-
* BSD LICENSE
*
- * Copyright(c) 2010-201
6
Intel Corporation. All rights reserved.
+ * Copyright(c) 2010-201
7
Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-381,6
+381,12
@@
extern enum dcb_queue_mapping_mode dcb_q_mapping;
extern uint16_t mbuf_data_size; /**< Mbuf data space size. */
extern uint32_t param_total_num_mbufs;
extern uint16_t mbuf_data_size; /**< Mbuf data space size. */
extern uint32_t param_total_num_mbufs;
+
+#ifdef RTE_LIBRTE_LATENCY_STATS
+extern uint8_t latencystats_enabled;
+extern lcoreid_t latencystats_lcore_id;
+#endif
+
extern struct rte_fdir_conf fdir_conf;
/*
extern struct rte_fdir_conf fdir_conf;
/*