Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
stats.hpp File Reference
#include <cstdint>
#include <functional>
#include <mutex>
#include <string>
#include <unordered_map>

Go to the source code of this file.

Classes

class  bb::avm2::Stats
 

Namespaces

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

Macros

#define AVM_TRACK_STATS
 
#define AVM_TRACK_TIME(key, body)   ::bb::avm2::Stats::get().time(key, [&]() { body; });
 
#define AVM_TRACK_TIME_V(key, body)   ::bb::avm2::Stats::get().time_r(key, [&]() { return body; });
 

Macro Definition Documentation

◆ AVM_TRACK_STATS

#define AVM_TRACK_STATS

Definition at line 12 of file stats.hpp.

◆ AVM_TRACK_TIME

#define AVM_TRACK_TIME (   key,
  body 
)    ::bb::avm2::Stats::get().time(key, [&]() { body; });

Definition at line 17 of file stats.hpp.

◆ AVM_TRACK_TIME_V

#define AVM_TRACK_TIME_V (   key,
  body 
)    ::bb::avm2::Stats::get().time_r(key, [&]() { return body; });

Definition at line 19 of file stats.hpp.