[libc][NFC] Add probability distributions for memory function sizes
authorGuillaume Chatelet <gchatelet@google.com>
Thu, 15 Oct 2020 08:01:26 +0000 (08:01 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Thu, 15 Oct 2020 08:15:58 +0000 (08:15 +0000)
commitc400e01c6295f45e395bdeff5e6c37bd5777aa98
tree192ebc1e55055941ea7bb958a1d5b3c561e412d1
parent400103f3d5f1f1d3e7dd02531f9db71a049ac507
[libc][NFC] Add probability distributions for memory function sizes

This patch adds memory function size distributions sampled from different applications running in production.
This will be used to benchmark and compare memory functions implementations.

Differential Revision: https://reviews.llvm.org/D89401
libc/benchmarks/CMakeLists.txt
libc/benchmarks/MemorySizeDistributions.cpp [new file with mode: 0644]
libc/benchmarks/MemorySizeDistributions.h [new file with mode: 0644]