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 235 of file acir_format.hpp.
|
inline |
Definition at line 237 of file acir_format.hpp.
|
inline |
Definition at line 242 of file acir_format.hpp.
|
inline |
Definition at line 253 of file acir_format.hpp.
|
private |
Definition at line 261 of file acir_format.hpp.
|
private |
Definition at line 262 of file acir_format.hpp.
|
private |
Definition at line 263 of file acir_format.hpp.