[dpdk-stable] [PATCH] app/test-crypto-perf: fix csv format

Akhil Goyal akhil.goyal at nxp.com
Wed Jun 19 16:50:37 CEST 2019


> From: Ankur Dwivedi <adwivedi at marvell.com>
> 
> The format for printing float is incorrect for the following fields
> in pmd-cyclecount test: Cycles/Op,Cycles/Enq,Cycles/Deq.
> 
> Currently, the format is %.f3. This format will round off the number to
> the nearest integer and append a 3 after that.
> 
> This patch changes the format to %.3f. This will print the number as a
> floating point with a precision of 3 fractional digits.
> 
> Fixes: 96dfeb609be1 ("app/crypto-perf: add new PMD benchmarking mode")
> 
> Signed-off-by: Ankur Dwivedi <adwivedi at marvell.com>
> Signed-off-by: Anoob Joseph <anoobj at marvell.com>
> ---

Cc stable at dpdk.org
Applied to dpdk-next-crypto

Thanks.


More information about the stable mailing list