|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Utility class for tracking the gate count of acir constraints. More...
#include <acir_format.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 162 of file acir_format.hpp.
|
inline |
Definition at line 164 of file acir_format.hpp.
|
inline |
Definition at line 169 of file acir_format.hpp.
|
inline |
Definition at line 180 of file acir_format.hpp.
|
private |
Definition at line 188 of file acir_format.hpp.
|
private |
Definition at line 189 of file acir_format.hpp.
|
private |
Definition at line 190 of file acir_format.hpp.