Barretenberg
The ZK-SNARK library at the core of Aztec
|
Go to the source code of this file.
Functions | |
void | field_mixed_add (const fr &x1, const fr &y1, const fr &z1, const fr &x2, const fr &y2, fr &x3, fr &y3, fr &z3) |
uint64_t | rdtsc () |
fr | sqr_assign_impl (const fr &x) |
void | sqr_assign_bench (State &state) noexcept |
BENCHMARK (sqr_assign_bench) | |
fr | sqr_impl (const fr &x) |
void | sqr_bench (State &state) noexcept |
BENCHMARK (sqr_bench) | |
fr | unary_minus_impl (const fr &x) |
void | unary_minus_bench (State &state) noexcept |
BENCHMARK (unary_minus_bench) | |
fr | mul_assign_impl (const fr &x, const fr &y) |
void | mul_assign_bench (State &state) noexcept |
BENCHMARK (mul_assign_bench) | |
fr | mul_impl (const fr &x, const fr &y) |
void | mul_bench (State &state) noexcept |
BENCHMARK (mul_bench) | |
fr | self_add_impl (const fr &x, fr &y) |
void | self_add_bench (State &state) noexcept |
BENCHMARK (self_add_bench) | |
fr | add_impl (const fr &x, fr &y) |
void | add_bench (State &state) noexcept |
BENCHMARK (add_bench) | |
fr | sub_impl (const fr &x, fr &y) |
void | sub_bench (State &state) noexcept |
BENCHMARK (sub_bench) | |
fr | addaddmul_impl (const fr &x, const fr &y, const fr &z) |
void | addaddmul_bench (State &state) noexcept |
BENCHMARK (addaddmul_bench) | |
fr | subaddmul_impl (const fr &x, const fr &y, const fr &z) |
void | subaddmul_bench (State &state) noexcept |
BENCHMARK (subaddmul_bench) | |
void | field_bench (State &state) noexcept |
BENCHMARK (field_bench) | |
void | invert_bench (State &state) noexcept |
BENCHMARK (invert_bench) | |
void | pow_bench (State &state) noexcept |
BENCHMARK (pow_bench) | |
void | hash_bench (State &state) noexcept |
BENCHMARK (hash_bench) | |
BENCHMARK_MAIN () | |
Variables | |
constexpr size_t | NUM_POINTS = 1 << 24 |
constexpr size_t | NUM_INVERSIONS = 1 << 20 |
std::vector< bb::fr > | oldx |
std::vector< bb::fr > | oldy |
fr | accx |
fr | accy |
fr | accz |
const auto | init |
|
noexcept |
Definition at line 308 of file fr.bench.cpp.
Definition at line 299 of file fr.bench.cpp.
|
noexcept |
Definition at line 358 of file fr.bench.cpp.
Definition at line 347 of file fr.bench.cpp.
BENCHMARK | ( | add_bench | ) |
BENCHMARK | ( | addaddmul_bench | ) |
BENCHMARK | ( | field_bench | ) |
BENCHMARK | ( | hash_bench | ) |
BENCHMARK | ( | invert_bench | ) |
BENCHMARK | ( | mul_assign_bench | ) |
BENCHMARK | ( | mul_bench | ) |
BENCHMARK | ( | pow_bench | ) |
BENCHMARK | ( | self_add_bench | ) |
BENCHMARK | ( | sqr_assign_bench | ) |
BENCHMARK | ( | sqr_bench | ) |
BENCHMARK | ( | sub_bench | ) |
BENCHMARK | ( | subaddmul_bench | ) |
BENCHMARK | ( | unary_minus_bench | ) |
BENCHMARK_MAIN | ( | ) |
|
noexcept |
Definition at line 399 of file fr.bench.cpp.
void field_mixed_add | ( | const fr & | x1, |
const fr & | y1, | ||
const fr & | z1, | ||
const fr & | x2, | ||
const fr & | y2, | ||
fr & | x3, | ||
fr & | y3, | ||
fr & | z3 | ||
) |
Definition at line 74 of file fr.bench.cpp.
|
noexcept |
Definition at line 445 of file fr.bench.cpp.
|
noexcept |
Definition at line 420 of file fr.bench.cpp.
|
noexcept |
Definition at line 236 of file fr.bench.cpp.
Definition at line 228 of file fr.bench.cpp.
|
noexcept |
Definition at line 260 of file fr.bench.cpp.
Definition at line 251 of file fr.bench.cpp.
|
noexcept |
Definition at line 432 of file fr.bench.cpp.
uint64_t rdtsc | ( | ) |
Definition at line 117 of file fr.bench.cpp.
|
noexcept |
Definition at line 284 of file fr.bench.cpp.
Definition at line 275 of file fr.bench.cpp.
|
noexcept |
Definition at line 167 of file fr.bench.cpp.
Definition at line 159 of file fr.bench.cpp.
|
noexcept |
Definition at line 190 of file fr.bench.cpp.
Definition at line 182 of file fr.bench.cpp.
|
noexcept |
Definition at line 332 of file fr.bench.cpp.
Definition at line 323 of file fr.bench.cpp.
|
noexcept |
Definition at line 384 of file fr.bench.cpp.
Definition at line 373 of file fr.bench.cpp.
|
noexcept |
Definition at line 213 of file fr.bench.cpp.
Definition at line 205 of file fr.bench.cpp.
fr accx |
Definition at line 138 of file fr.bench.cpp.
fr accy |
Definition at line 139 of file fr.bench.cpp.
fr accz |
Definition at line 140 of file fr.bench.cpp.
const auto init |
Definition at line 141 of file fr.bench.cpp.
|
constexpr |
Definition at line 134 of file fr.bench.cpp.
|
constexpr |
Definition at line 133 of file fr.bench.cpp.
std::vector<bb::fr> oldx |
Definition at line 135 of file fr.bench.cpp.
std::vector<bb::fr> oldy |
Definition at line 136 of file fr.bench.cpp.