test/lpm: fix measured cycles for delete
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Tue, 1 Oct 2019 05:32:53 +0000 (00:32 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 24 Oct 2019 08:00:27 +0000 (10:00 +0200)
commitc425fb6b9b3264dfe5d212fe80151cfd800b907c
treeecb1d41a59e4d460bd58ad0be524c641710a9b4a
parentcddd879540daf1f1f34f6ade34ebd3cbf069ff96
test/lpm: fix measured cycles for delete

total_time needs to be reset to measure the cycles for delete API.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Tested-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
app/test/test_lpm_perf.c