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

#include <op_count.hpp>

Classes

struct  Entry
 

Public Member Functions

 ~GlobalOpCountContainer ()
 
void print () const
 
void clear ()
 
void add_entry (const char *key, const std::shared_ptr< OpStats > &count)
 
std::map< std::string, std::size_tget_aggregate_counts () const
 
void print_aggregate_counts (std::ostream &, size_t) const
 

Public Attributes

std::mutex mutex
 
std::vector< Entrycounts
 

Detailed Description

Definition at line 65 of file op_count.hpp.

Constructor & Destructor Documentation

◆ ~GlobalOpCountContainer()

bb::detail::GlobalOpCountContainer::~GlobalOpCountContainer ( )

Definition at line 14 of file op_count.cpp.

Member Function Documentation

◆ add_entry()

void bb::detail::GlobalOpCountContainer::add_entry ( const char *  key,
const std::shared_ptr< OpStats > &  count 
)

Definition at line 21 of file op_count.cpp.

◆ clear()

void bb::detail::GlobalOpCountContainer::clear ( )

Definition at line 78 of file op_count.cpp.

◆ get_aggregate_counts()

std::map< std::string, std::size_t > bb::detail::GlobalOpCountContainer::get_aggregate_counts ( ) const

Definition at line 44 of file op_count.cpp.

◆ print()

void bb::detail::GlobalOpCountContainer::print ( ) const

Definition at line 29 of file op_count.cpp.

◆ print_aggregate_counts()

void bb::detail::GlobalOpCountContainer::print_aggregate_counts ( std::ostream &  os,
size_t  indent 
) const

Definition at line 58 of file op_count.cpp.

Member Data Documentation

◆ counts

std::vector<Entry> bb::detail::GlobalOpCountContainer::counts

Definition at line 74 of file op_count.hpp.

◆ mutex

std::mutex bb::detail::GlobalOpCountContainer::mutex

Definition at line 73 of file op_count.hpp.


The documentation for this struct was generated from the following files: