UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
benchmark_harness.hpp File Reference
#include <algorithm>
#include <array>
#include <chrono>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <numeric>
#include <vector>

Go to the source code of this file.

Classes

struct  bench::Timer
 
struct  bench::Stats
 
class  bench::Harness
 

Namespaces

namespace  bench
 

Macros

#define BENCH_HAS_RDTSC   0
 

Functions

template<typename T >
void bench::DoNotOptimize (T const &value)
 
template<typename T >
void bench::DoNotOptimize (T &value)
 
void bench::ClobberMemory ()
 
Stats bench::compute_stats (std::vector< double > &data)
 
void bench::pin_thread_and_elevate ()
 
const char * bench::format_ns (double ns, char *buf, std::size_t buflen)
 
const char * bench::format_ns (double ns)
 

Macro Definition Documentation

◆ BENCH_HAS_RDTSC

#define BENCH_HAS_RDTSC   0

Definition at line 106 of file benchmark_harness.hpp.