Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::bbapi::ClientIvcStats Struct Reference

Get gate counts for a circuit. More...

#include <bbapi_client_ivc.hpp>

Classes

struct  Response
 Contains gate count information. More...
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (circuit, include_gates_per_opcode)
 
bool operator== (const ClientIvcStats &) const =default
 

Public Attributes

CircuitInputNoVK circuit
 The circuit to analyze.
 
bool include_gates_per_opcode
 Whether to include detailed gate counts per opcode.
 

Static Public Attributes

static constexpr const char * MSGPACK_SCHEMA_NAME = "ClientIvcStats"
 

Detailed Description

Get gate counts for a circuit.

Definition at line 235 of file bbapi_client_ivc.hpp.

Member Function Documentation

◆ execute()

ClientIvcStats::Response bb::bbapi::ClientIvcStats::execute ( BBApiRequest request) &&

Definition at line 176 of file bbapi_client_ivc.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::ClientIvcStats::MSGPACK_FIELDS ( circuit  ,
include_gates_per_opcode   
)

◆ operator==()

bool bb::bbapi::ClientIvcStats::operator== ( const ClientIvcStats ) const
default

Member Data Documentation

◆ circuit

CircuitInputNoVK bb::bbapi::ClientIvcStats::circuit

The circuit to analyze.

Definition at line 256 of file bbapi_client_ivc.hpp.

◆ include_gates_per_opcode

bool bb::bbapi::ClientIvcStats::include_gates_per_opcode

Whether to include detailed gate counts per opcode.

Definition at line 258 of file bbapi_client_ivc.hpp.

◆ MSGPACK_SCHEMA_NAME

constexpr const char* bb::bbapi::ClientIvcStats::MSGPACK_SCHEMA_NAME = "ClientIvcStats"
staticconstexpr

Definition at line 236 of file bbapi_client_ivc.hpp.


The documentation for this struct was generated from the following files: