app/testpmd: consolidate duplicate ifdefs into one

Cnsolidate the duplicate #ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES
into one #ifdef.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
This commit is contained in:
Rami Rosen 2017-04-17 18:56:30 -04:00 committed by Thomas Monjalon
parent 2eaef2b915
commit 0f58f01393

View File

@ -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