12 #ifndef CONSTRAINT_PROFILING_HPP_ 
   13 #define CONSTRAINT_PROFILING_HPP_ 
   33 #define PROFILE_CONSTRAINTS(pb, annotation)                                    \ 
   34     for (size_t _num_constraints_before = pb.num_constraints(),                \ 
   35                 _iter = (++libsnark::constraint_profiling_indent, 0),          \ 
   36                 _cp_pos = libsnark::constraint_profiling_table.size();         \ 
   38          libsnark::constraint_profiling_table.insert(                          \ 
   39              libsnark::constraint_profiling_table.begin() + _cp_pos,           \ 
   40              libsnark::constraint_profiling_entry{                             \ 
   41                  --libsnark::constraint_profiling_indent,                      \ 
   43                  pb.num_constraints() - _num_constraints_before}),             \ 
   50 #endif // CONSTRAINT_PROFILING_HPP_