Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Classes | Namespaces | Macros | Functions
constraint_profiling.hpp File Reference
#include <cstddef>
#include <map>
#include <string>
#include <vector>
Include dependency graph for constraint_profiling.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  libsnark::constraint_profiling_entry
 

Namespaces

 libsnark
 

Macros

#define PROFILE_CONSTRAINTS(pb, annotation)
 

Functions

size_t libsnark::PRINT_CONSTRAINT_PROFILING ()
 

Detailed Description

Declaration of interfaces for profiling constraints.

Author
This file is part of libsnark, developed by SCIPR Lab and contributors (see AUTHORS).

Definition in file constraint_profiling.hpp.

Macro Definition Documentation

◆ PROFILE_CONSTRAINTS

#define PROFILE_CONSTRAINTS (   pb,
  annotation 
)
Value:
for (size_t _num_constraints_before = pb.num_constraints(), \
_iter == 0; \
--libsnark::constraint_profiling_indent, \
annotation, \
pb.num_constraints() - _num_constraints_before}), \
_iter = 1)

Definition at line 33 of file constraint_profiling.hpp.

libsnark::constraint_profiling_entry
Definition: constraint_profiling.hpp:25
libsnark::constraint_profiling_table
std::vector< constraint_profiling_entry > constraint_profiling_table
Definition: constraint_profiling.cpp:21
libsnark::constraint_profiling_indent
size_t constraint_profiling_indent
Definition: constraint_profiling.cpp:20