e6b7e58574
This app shows how to use the SPDK zipf functionality, and uses spdk_histogram to show the cumulative distributions. Usage: build/examples/zipf 1.2 100000000 10000 This will generate 10000 random numbers from a range [0, 100000000) using zipf theta parameter = 1.2. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I36486399b54f57e771cbc5530ae4905afca60b64 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7780 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
zipf.c |