Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
op_count_google_bench.hpp File Reference
#include <benchmark/benchmark.h>
#include "op_count.hpp"

Go to the source code of this file.

Classes

struct  bb::GoogleBenchOpCountReporter
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 

Macros

#define BB_REPORT_OP_COUNT_IN_BENCH(state)   bb::GoogleBenchOpCountReporter __bb_report_op_count_in_bench{ state };
 
#define BB_REPORT_OP_COUNT_BENCH_CANCEL()   __bb_report_op_count_in_bench.cancelled = true;
 

Macro Definition Documentation

◆ BB_REPORT_OP_COUNT_BENCH_CANCEL

#define BB_REPORT_OP_COUNT_BENCH_CANCEL ( )    __bb_report_op_count_in_bench.cancelled = true;

Definition at line 48 of file op_count_google_bench.hpp.

◆ BB_REPORT_OP_COUNT_IN_BENCH

#define BB_REPORT_OP_COUNT_IN_BENCH (   state)    bb::GoogleBenchOpCountReporter __bb_report_op_count_in_bench{ state };

Definition at line 46 of file op_count_google_bench.hpp.