Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
random.cpp File Reference
#include <bench/bench.h>
#include <random.h>
#include <cstdint>
#include <numeric>
Include dependency graph for random.cpp:

Go to the source code of this file.

Functions

 BENCHMARK (FastRandom_rand64, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (FastRandom_rand32, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (FastRandom_randbool, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (FastRandom_randbits, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (FastRandom_randrange100, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (FastRandom_randrange1000, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (FastRandom_randrange1000000, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (FastRandom_stdshuffle100, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_rand64, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_rand32, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_randbool, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_randbits, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_randrange100, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_randrange1000, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_randrange1000000, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (InsecureRandom_stdshuffle100, benchmark::PriorityLevel::HIGH)
 

Function Documentation

◆ BENCHMARK() [1/16]

BENCHMARK ( FastRandom_rand32 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [2/16]

BENCHMARK ( FastRandom_rand64 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [3/16]

BENCHMARK ( FastRandom_randbits ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [4/16]

BENCHMARK ( FastRandom_randbool ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [5/16]

BENCHMARK ( FastRandom_randrange100 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [6/16]

BENCHMARK ( FastRandom_randrange1000 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [7/16]

BENCHMARK ( FastRandom_randrange1000000 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [8/16]

BENCHMARK ( FastRandom_stdshuffle100 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [9/16]

BENCHMARK ( InsecureRandom_rand32 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [10/16]

BENCHMARK ( InsecureRandom_rand64 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [11/16]

BENCHMARK ( InsecureRandom_randbits ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [12/16]

BENCHMARK ( InsecureRandom_randbool ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [13/16]

BENCHMARK ( InsecureRandom_randrange100 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [14/16]

BENCHMARK ( InsecureRandom_randrange1000 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [15/16]

BENCHMARK ( InsecureRandom_randrange1000000 ,
benchmark::PriorityLevel::HIGH  )

◆ BENCHMARK() [16/16]

BENCHMARK ( InsecureRandom_stdshuffle100 ,
benchmark::PriorityLevel::HIGH  )