Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::detail::GlobalOpCount< Op > Struct Template Reference

#include <op_count.hpp>

Static Public Member Functions

static OpStatsensure_stats ()
 
static constexpr void increment_op_count ()
 
static constexpr void add_clock_time (std::size_t time)
 

Static Public Attributes

static thread_local std::shared_ptr< OpStatsstats
 

Detailed Description

template<OperationLabel Op>
struct bb::detail::GlobalOpCount< Op >

Definition at line 86 of file op_count.hpp.

Member Function Documentation

◆ add_clock_time()

template<OperationLabel Op>
static constexpr void bb::detail::GlobalOpCount< Op >::add_clock_time ( std::size_t  time)
inlinestaticconstexpr

Definition at line 108 of file op_count.hpp.

◆ ensure_stats()

template<OperationLabel Op>
static OpStats * bb::detail::GlobalOpCount< Op >::ensure_stats ( )
inlinestatic

Definition at line 91 of file op_count.hpp.

◆ increment_op_count()

template<OperationLabel Op>
static constexpr void bb::detail::GlobalOpCount< Op >::increment_op_count ( )
inlinestaticconstexpr

Definition at line 99 of file op_count.hpp.

Member Data Documentation

◆ stats

template<OperationLabel Op>
thread_local std::shared_ptr< OpStats > bb::detail::GlobalOpCount< Op >::stats
static

Definition at line 89 of file op_count.hpp.


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