Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
prevector.cpp File Reference
#include <prevector.h>
#include <serialize.h>
#include <streams.h>
#include <type_traits>
#include <bench/bench.h>
Include dependency graph for prevector.cpp:

Go to the source code of this file.

Classes

struct  nontrivial_t
 

Macros

#define IS_TRIVIALLY_CONSTRUCTIBLE   std::is_trivially_default_constructible
 
#define PREVECTOR_TEST(name)
 

Typedefs

typedef uint8_t trivial_t
 

Functions

template<typename T >
static void PrevectorDestructor (benchmark::Bench &bench)
 
template<typename T >
static void PrevectorClear (benchmark::Bench &bench)
 
template<typename T >
static void PrevectorResize (benchmark::Bench &bench)
 
template<typename T >
static void PrevectorDeserialize (benchmark::Bench &bench)
 
template<typename T >
static void PrevectorFillVectorDirect (benchmark::Bench &bench)
 
template<typename T >
static void PrevectorFillVectorIndirect (benchmark::Bench &bench)
 

Macro Definition Documentation

◆ IS_TRIVIALLY_CONSTRUCTIBLE

#define IS_TRIVIALLY_CONSTRUCTIBLE   std::is_trivially_default_constructible

Definition at line 17 of file prevector.cpp.

◆ PREVECTOR_TEST

#define PREVECTOR_TEST (   name)
Value:
} \
} \
Main entry point to nanobench's benchmarking facility.
Definition nanobench.h:616
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
const char * name
Definition rest.cpp:47

Definition at line 105 of file prevector.cpp.

Typedef Documentation

◆ trivial_t

Definition at line 28 of file prevector.cpp.

Function Documentation

◆ PrevectorClear()

template<typename T >
static void PrevectorClear ( benchmark::Bench bench)
static

Definition at line 41 of file prevector.cpp.

Here is the call graph for this function:

◆ PrevectorDeserialize()

template<typename T >
static void PrevectorDeserialize ( benchmark::Bench bench)
static

Definition at line 64 of file prevector.cpp.

Here is the call graph for this function:

◆ PrevectorDestructor()

template<typename T >
static void PrevectorDestructor ( benchmark::Bench bench)
static

Definition at line 32 of file prevector.cpp.

Here is the call graph for this function:

◆ PrevectorFillVectorDirect()

template<typename T >
static void PrevectorFillVectorDirect ( benchmark::Bench bench)
static

Definition at line 85 of file prevector.cpp.

Here is the call graph for this function:

◆ PrevectorFillVectorIndirect()

template<typename T >
static void PrevectorFillVectorIndirect ( benchmark::Bench bench)
static

Definition at line 95 of file prevector.cpp.

Here is the call graph for this function:

◆ PrevectorResize()

template<typename T >
static void PrevectorResize ( benchmark::Bench bench)
static

Definition at line 52 of file prevector.cpp.

Here is the call graph for this function: