Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
op_count.hpp File Reference
#include <memory>
#include <ostream>
#include <tracy/Tracy.hpp>
#include "barretenberg/common/compiler_hints.hpp"
#include <algorithm>
#include <atomic>
#include <cstdlib>
#include <map>
#include <mutex>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  bb::detail::OperationLabel< N >
 
struct  bb::detail::OpStats
 
struct  bb::detail::GlobalOpCountContainer
 
struct  bb::detail::GlobalOpCountContainer::Entry
 
struct  bb::detail::GlobalOpCount< Op >
 
struct  bb::detail::OpCountTimeReporter
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::detail
 

Macros

#define PROFILE_THIS()   BB_OP_COUNT_TIME_NAME(__func__)
 
#define PROFILE_THIS_NAME(name)   BB_OP_COUNT_TIME_NAME(name)
 
#define BB_OP_COUNT_TIME_NAME(name)
 
#define BB_OP_COUNT_TIME()   BB_OP_COUNT_TIME_NAME(__func__)
 

Macro Definition Documentation

◆ BB_OP_COUNT_TIME

#define BB_OP_COUNT_TIME ( )    BB_OP_COUNT_TIME_NAME(__func__)

Definition at line 136 of file op_count.hpp.

◆ BB_OP_COUNT_TIME_NAME

#define BB_OP_COUNT_TIME_NAME (   name)
Value:
__bb_op_count_time.emplace(bb::detail::GlobalOpCount<name>::ensure_stats())
bool use_op_count_time
Definition op_count.cpp:11
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13

Definition at line 131 of file op_count.hpp.

◆ PROFILE_THIS

#define PROFILE_THIS ( )    BB_OP_COUNT_TIME_NAME(__func__)

Definition at line 15 of file op_count.hpp.

◆ PROFILE_THIS_NAME

#define PROFILE_THIS_NAME (   name)    BB_OP_COUNT_TIME_NAME(name)

Definition at line 16 of file op_count.hpp.