MCPcopy Create free account
hub / github.com/ElementsProject/elements / FastRandom_32bit

Function FastRandom_32bit

src/bench/crypto_hash.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static void FastRandom_32bit(benchmark::Bench& bench)
94{
95 FastRandomContext rng(true);
96 bench.run([&] {
97 rng.rand32();
98 });
99}
100
101static void FastRandom_1bit(benchmark::Bench& bench)
102{

Callers

nothing calls this directly

Calls 2

rand32Method · 0.80
runMethod · 0.45

Tested by

no test coverage detected