Bitcoin Core 31.99.0
P2P Digital Currency
Classes | Macros | Functions
bench_impl.h File Reference
#include "../../../include/secp256k1_silentpayments.h"
#include "../../util.h"
Include dependency graph for bench_impl.h:

Go to the source code of this file.

Classes

struct  bench_silentpayments_data
 

Macros

#define MAX_P2TR_OUTPUTS_PER_BLOCK   23250
 
#define SP_BENCH_MAX_INPUTS   1
 
#define SP_BENCH_MAX_OUTPUTS   MAX_P2TR_OUTPUTS_PER_BLOCK
 

Functions

const unsigned char * label_lookup (const unsigned char *key, const void *cache_ptr)
 
static void bench_silentpayments_scan_setup (void *arg)
 
static void bench_silentpayments_scan_teardown (void *arg, int iters)
 
static void bench_silentpayments_scan (void *arg, int iters)
 
static void run_silentpayments_bench (int iters, int argc, char **argv)
 

Macro Definition Documentation

◆ MAX_P2TR_OUTPUTS_PER_BLOCK

#define MAX_P2TR_OUTPUTS_PER_BLOCK   23250

Definition at line 18 of file bench_impl.h.

◆ SP_BENCH_MAX_INPUTS

#define SP_BENCH_MAX_INPUTS   1

Definition at line 20 of file bench_impl.h.

◆ SP_BENCH_MAX_OUTPUTS

#define SP_BENCH_MAX_OUTPUTS   MAX_P2TR_OUTPUTS_PER_BLOCK

Definition at line 21 of file bench_impl.h.

Function Documentation

◆ bench_silentpayments_scan()

static void bench_silentpayments_scan ( void *  arg,
int  iters 
)
static

Definition at line 159 of file bench_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_silentpayments_scan_setup()

static void bench_silentpayments_scan_setup ( void *  arg)
static

Definition at line 48 of file bench_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bench_silentpayments_scan_teardown()

static void bench_silentpayments_scan_teardown ( void *  arg,
int  iters 
)
static

Definition at line 149 of file bench_impl.h.

Here is the caller graph for this function:

◆ label_lookup()

const unsigned char * label_lookup ( const unsigned char *  key,
const void *  cache_ptr 
)

Definition at line 40 of file bench_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_silentpayments_bench()

static void run_silentpayments_bench ( int  iters,
int  argc,
char **  argv 
)
static

Definition at line 182 of file bench_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function: