|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Utility class for tracking the gate count of acir constraints. More...
#include <gate_counter.hpp>
Public Member Functions | |
| GateCounter (Builder *builder, bool collect_gates_per_opcode) | |
| size_t | compute_diff () |
| void | track_diff (std::vector< size_t > &gates_per_opcode, size_t opcode_index) |
Private Attributes | |
| Builder * | builder |
| bool | collect_gates_per_opcode |
| size_t | prev_gate_count {} |
Utility class for tracking the gate count of acir constraints.
Definition at line 12 of file gate_counter.hpp.
|
inline |
Definition at line 14 of file gate_counter.hpp.
|
inline |
Definition at line 19 of file gate_counter.hpp.
|
inline |
Definition at line 30 of file gate_counter.hpp.
|
private |
Definition at line 38 of file gate_counter.hpp.
|
private |
Definition at line 39 of file gate_counter.hpp.
|
private |
Definition at line 40 of file gate_counter.hpp.