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

#include <bb_bench.hpp>

Public Member Functions

 TimeStats ()=default
 
 TimeStats (TimeStatsEntry *parent_ptr, std::size_t count_val, std::size_t time_val)
 
void track (TimeStatsEntry *current_parent, std::size_t time_val)
 

Public Attributes

TimeStatsEntryparent = nullptr
 
std::size_t count = 0
 
std::size_t time = 0
 
std::unique_ptr< TimeStatsnext
 

Private Member Functions

bool raw_track (TimeStatsEntry *expected_parent, std::size_t time_val)
 

Detailed Description

Definition at line 106 of file bb_bench.hpp.

Constructor & Destructor Documentation

◆ TimeStats() [1/2]

bb::detail::TimeStats::TimeStats ( )
default

◆ TimeStats() [2/2]

bb::detail::TimeStats::TimeStats ( TimeStatsEntry parent_ptr,
std::size_t  count_val,
std::size_t  time_val 
)
inline

Definition at line 114 of file bb_bench.hpp.

Member Function Documentation

◆ raw_track()

bool bb::detail::TimeStats::raw_track ( TimeStatsEntry expected_parent,
std::size_t  time_val 
)
inlineprivate

Definition at line 140 of file bb_bench.hpp.

◆ track()

void bb::detail::TimeStats::track ( TimeStatsEntry current_parent,
std::size_t  time_val 
)
inline

Definition at line 120 of file bb_bench.hpp.

Member Data Documentation

◆ count

std::size_t bb::detail::TimeStats::count = 0

Definition at line 108 of file bb_bench.hpp.

◆ next

std::unique_ptr<TimeStats> bb::detail::TimeStats::next

Definition at line 111 of file bb_bench.hpp.

◆ parent

TimeStatsEntry* bb::detail::TimeStats::parent = nullptr

Definition at line 107 of file bb_bench.hpp.

◆ time

std::size_t bb::detail::TimeStats::time = 0

Definition at line 109 of file bb_bench.hpp.


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