Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
BenchmarkInfoCollator Class Reference

A class for saving benchmarks and printing them all at once in the end of the function. More...

#include <log.hpp>

Public Member Functions

 BenchmarkInfoCollator ()=default
 
 BenchmarkInfoCollator (const BenchmarkInfoCollator &other)=default
 
 BenchmarkInfoCollator (BenchmarkInfoCollator &&other)=default
 
BenchmarkInfoCollatoroperator= (const BenchmarkInfoCollator &other)=default
 
BenchmarkInfoCollatoroperator= (BenchmarkInfoCollator &&other)=default
 
 BenchmarkInfoCollator (std::vector< std::string > saved_benchmarks)
 Info used to store circuit statistics during CI/CD with concrete structure. Stores string in vector for now (used to flush all benchmarks at the end of test).
 
template<typename... Args>
void benchmark_info_deferred (Args...)
 
 ~BenchmarkInfoCollator ()
 

Private Attributes

std::vector< std::string > saved_benchmarks
 

Detailed Description

A class for saving benchmarks and printing them all at once in the end of the function.

Definition at line 110 of file log.hpp.

Constructor & Destructor Documentation

◆ BenchmarkInfoCollator() [1/4]

BenchmarkInfoCollator::BenchmarkInfoCollator ( )
default

◆ BenchmarkInfoCollator() [2/4]

BenchmarkInfoCollator::BenchmarkInfoCollator ( const BenchmarkInfoCollator other)
default

◆ BenchmarkInfoCollator() [3/4]

BenchmarkInfoCollator::BenchmarkInfoCollator ( BenchmarkInfoCollator &&  other)
default

◆ BenchmarkInfoCollator() [4/4]

BenchmarkInfoCollator::BenchmarkInfoCollator ( std::vector< std::string >  saved_benchmarks)
inlineexplicit

Info used to store circuit statistics during CI/CD with concrete structure. Stores string in vector for now (used to flush all benchmarks at the end of test).

Automatically appends the necessary prefix and suffix, as well as separators.

Template Parameters
Args
Parameters
args

Definition at line 137 of file log.hpp.

◆ ~BenchmarkInfoCollator()

BenchmarkInfoCollator::~BenchmarkInfoCollator ( )
inline

Definition at line 142 of file log.hpp.

Member Function Documentation

◆ benchmark_info_deferred()

template<typename... Args>
void BenchmarkInfoCollator::benchmark_info_deferred ( Args...  )
inline

Definition at line 140 of file log.hpp.

◆ operator=() [1/2]

BenchmarkInfoCollator & BenchmarkInfoCollator::operator= ( BenchmarkInfoCollator &&  other)
default

◆ operator=() [2/2]

BenchmarkInfoCollator & BenchmarkInfoCollator::operator= ( const BenchmarkInfoCollator other)
default

Member Data Documentation

◆ saved_benchmarks

std::vector<std::string> BenchmarkInfoCollator::saved_benchmarks
private

Definition at line 112 of file log.hpp.


The documentation for this class was generated from the following file: