git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eaef2b
)
app/testpmd: consolidate duplicate ifdefs into one
author
Rami Rosen
<rami.rosen@intel.com>
Mon, 17 Apr 2017 22:56:30 +0000
(18:56 -0400)
committer
Thomas Monjalon
<thomas@monjalon.net>
Thu, 20 Apr 2017 23:19:14 +0000
(
01:19
+0200)
Cnsolidate the duplicate #ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES
into one #ifdef.
Signed-off-by: Rami Rosen <rami.rosen@intel.com>
app/test-pmd/rxonly.c
patch
|
blob
|
history
diff --git
a/app/test-pmd/rxonly.c
b/app/test-pmd/rxonly.c
index
dcc8346
..
dcd1d85
100644
(file)
--- a/
app/test-pmd/rxonly.c
+++ b/
app/test-pmd/rxonly.c
@@
-101,9
+101,7
@@
pkt_burst_receive(struct fwd_stream *fs)
uint64_t start_tsc;
uint64_t end_tsc;
uint64_t core_cycles;
-#endif
-#ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES
start_tsc = rte_rdtsc();
#endif