|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/common/throw_or_abort.hpp"#include "barretenberg/env/hardware_concurrency.hpp"#include <cstdlib>#include <ctime>#include <fcntl.h>#include <iostream>#include <sstream>#include <string>#include <unistd.h>Go to the source code of this file.
Classes | |
| struct | TypeTraits< T, typename std::enable_if< std::is_arithmetic< T >::value >::type > |
| struct | TypeTraits< std::string > |
| struct | TypeTraits< double > |
| struct | TypeTraits< bool > |
Functions | |
| std::string | getCurrentTimestamp () |
| template<typename T > | |
| std::string | toString (const T &value) |
| void | appendToStream (std::ostringstream &) |
| template<typename K , typename V , typename... Args> | |
| void | appendToStream (std::ostringstream &oss, const K &key, const V &value, Args... args) |
| template<typename T , typename... Args> | |
| void | write_benchmark (const std::string &name, const T &value, Args... args) |
| void appendToStream | ( | std::ostringstream & | ) |
Definition at line 78 of file benchmark.hpp.
| void appendToStream | ( | std::ostringstream & | oss, |
| const K & | key, | ||
| const V & | value, | ||
| Args... | args | ||
| ) |
Definition at line 84 of file benchmark.hpp.
| std::string getCurrentTimestamp | ( | ) |
Definition at line 62 of file benchmark.hpp.
| std::string toString | ( | const T & | value | ) |
Definition at line 71 of file benchmark.hpp.
| void write_benchmark | ( | const std::string & | name, |
| const T & | value, | ||
| Args... | args | ||
| ) |
Definition at line 90 of file benchmark.hpp.