Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::detail Namespace Reference

Classes

struct  DomainSeparator
 
struct  GlobalOpCount
 
struct  GlobalOpCountContainer
 
struct  OpCountTimeReporter
 
struct  OperationLabel
 
struct  OpStats
 
struct  PrecomputedGenerators
 
class  PrecomputedGenerators<"biggroup offset generator", g1::affine_element, 1, 0 >
 
class  PrecomputedGenerators<"biggroup offset generator", secp256r1::g1::affine_element, 1UL, 0UL >
 
class  PrecomputedGenerators<"biggroup table offset generator", g1::affine_element, 1, 0 >
 
class  PrecomputedGenerators<"biggroup table offset generator", secp256r1::g1::affine_element, 1UL, 0UL >
 
class  PrecomputedGenerators<"DEFAULT_DOMAIN_SEPARATOR", bb::grumpkin::g1::affine_element, 8, 0 >
 
class  PrecomputedGenerators<"ECCVM_OFFSET_GENERATOR", g1::affine_element, 1, 0 >
 
class  PrecomputedGenerators<"pedersen_hash_length", bb::grumpkin::g1::affine_element, 1, 0 >
 
class  PrecomputedGenerators<"test generators", g1::affine_element, 2, 0 >
 

Functions

template<size_t Min, size_t Max, size_t Inc>
constexpr auto make_index_range ()
 Create an index sequence from Min to Max (not included) with an increment of Inc.
 
std::vector< std::string > split (const std::string &str, char delimiter)
 
void ltrim (std::string &s)
 
void rtrim (std::string &s)
 
void trim (std::string &s)
 
std::vector< std::string > split_and_trim (const std::string &str, char delimiter)
 
template<typename T , typename... BaseClass>
constexpr std::size_t _sum_base_class_size (const T &arg)
 
template<typename T , typename... BaseClass>
auto _concatenate_base_class_get_all (T &arg)
 
template<typename T , typename... BaseClass>
auto _concatenate_base_class_get_all_const (const T &arg)
 
template<typename... BaseClass>
auto _static_concatenate_base_class_get_labels ()
 

Variables

bool use_op_count_time
 
GlobalOpCountContainer GLOBAL_OP_COUNTS
 

Detailed Description

Provides an abstraction that counts operations based on function names. For efficiency, we spread out counts across threads.

Function Documentation

◆ _concatenate_base_class_get_all()

template<typename T , typename... BaseClass>
auto bb::detail::_concatenate_base_class_get_all ( T &  arg)

Definition at line 32 of file flavor_macros.hpp.

◆ _concatenate_base_class_get_all_const()

template<typename T , typename... BaseClass>
auto bb::detail::_concatenate_base_class_get_all_const ( const T &  arg)

Definition at line 36 of file flavor_macros.hpp.

◆ _static_concatenate_base_class_get_labels()

template<typename... BaseClass>
auto bb::detail::_static_concatenate_base_class_get_labels ( )

Definition at line 40 of file flavor_macros.hpp.

◆ _sum_base_class_size()

template<typename T , typename... BaseClass>
constexpr std::size_t bb::detail::_sum_base_class_size ( const T &  arg)
constexpr

Definition at line 28 of file flavor_macros.hpp.

◆ ltrim()

void bb::detail::ltrim ( std::string &  s)

Definition at line 24 of file std_string.cpp.

◆ make_index_range()

template<size_t Min, size_t Max, size_t Inc>
constexpr auto bb::detail::make_index_range ( )
constexpr

Create an index sequence from Min to Max (not included) with an increment of Inc.

Definition at line 13 of file constexpr_utils.hpp.

◆ rtrim()

void bb::detail::rtrim ( std::string &  s)

Definition at line 30 of file std_string.cpp.

◆ split()

std::vector< std::string > bb::detail::split ( const std::string &  str,
char  delimiter 
)

Definition at line 10 of file std_string.cpp.

◆ split_and_trim()

std::vector< std::string > bb::detail::split_and_trim ( const std::string &  str,
char  delimiter 
)

Definition at line 41 of file std_string.cpp.

◆ trim()

void bb::detail::trim ( std::string &  s)

Definition at line 36 of file std_string.cpp.

Variable Documentation

◆ GLOBAL_OP_COUNTS

GlobalOpCountContainer bb::detail::GLOBAL_OP_COUNTS

Definition at line 87 of file op_count.cpp.

◆ use_op_count_time

bool bb::detail::use_op_count_time
Initial value:
=
std::getenv("BB_USE_OP_COUNT_TIME") == nullptr ? false : std::string(std::getenv("BB_USE_OP_COUNT_TIME")) == "1"
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13

Definition at line 11 of file op_count.cpp.