|
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 226 of file acir_format.hpp.
|
inline |
Definition at line 228 of file acir_format.hpp.
|
inline |
Definition at line 233 of file acir_format.hpp.
|
inline |
Definition at line 244 of file acir_format.hpp.
|
private |
Definition at line 252 of file acir_format.hpp.
|
private |
Definition at line 253 of file acir_format.hpp.
|
private |
Definition at line 254 of file acir_format.hpp.