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:
parent
2eaef2b915
commit
0f58f01393
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user