]> git.droids-corp.org - dpdk.git/commit
eal: provide pseudo-random floating point number
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 26 May 2022 20:26:51 +0000 (13:26 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 22 Jun 2022 08:59:09 +0000 (10:59 +0200)
commit0cd10724bf7f7419d028ba69e5eb9eda1a7bfa62
treea51f9bc68c3cc20223e3c75e4c33c0c240781526
parent2e8bd307fae36e4756ee2205d202a05091fb2bcb
eal: provide pseudo-random floating point number

The PIE code and other applications can benefit from having a
fast way to get a random floating point value. This new function
is equivalent to drand() in the standard library.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
app/test/test_rand_perf.c
doc/guides/rel_notes/release_22_07.rst
lib/eal/common/rte_random.c
lib/eal/include/rte_random.h
lib/eal/version.map