Bitcoin ABC 0.30.5
P2P Digital Currency
Functions
bench.c File Reference
#include "sys/time.h"
#include <math.h>
#include <stdio.h>
#include "ctaes.h"
Include dependency graph for bench.c:

Go to the source code of this file.

Functions

static double gettimedouble (void)
 
static void print_number (double x)
 
static void run_benchmark (char *name, void(*benchmark)(void *), void(*setup)(void *), void(*teardown)(void *), void *data, int count, int iter)
 
static void bench_AES128_init (void *data)
 
static void bench_AES128_encrypt_setup (void *data)
 
static void bench_AES128_encrypt (void *data)
 
static void bench_AES128_decrypt (void *data)
 
static void bench_AES192_init (void *data)
 
static void bench_AES192_encrypt_setup (void *data)
 
static void bench_AES192_encrypt (void *data)
 
static void bench_AES192_decrypt (void *data)
 
static void bench_AES256_init (void *data)
 
static void bench_AES256_encrypt_setup (void *data)
 
static void bench_AES256_encrypt (void *data)
 
static void bench_AES256_decrypt (void *data)
 
int main (void)
 

Function Documentation

◆ bench_AES128_decrypt()

static void bench_AES128_decrypt ( void *  data)
static

Definition at line 84 of file bench.c.

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

◆ bench_AES128_encrypt()

static void bench_AES128_encrypt ( void *  data)
static

Definition at line 75 of file bench.c.

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

◆ bench_AES128_encrypt_setup()

static void bench_AES128_encrypt_setup ( void *  data)
static

Definition at line 69 of file bench.c.

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

◆ bench_AES128_init()

static void bench_AES128_init ( void *  data)
static

Definition at line 61 of file bench.c.

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

◆ bench_AES192_decrypt()

static void bench_AES192_decrypt ( void *  data)
static

Definition at line 116 of file bench.c.

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

◆ bench_AES192_encrypt()

static void bench_AES192_encrypt ( void *  data)
static

Definition at line 107 of file bench.c.

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

◆ bench_AES192_encrypt_setup()

static void bench_AES192_encrypt_setup ( void *  data)
static

Definition at line 101 of file bench.c.

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

◆ bench_AES192_init()

static void bench_AES192_init ( void *  data)
static

Definition at line 93 of file bench.c.

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

◆ bench_AES256_decrypt()

static void bench_AES256_decrypt ( void *  data)
static

Definition at line 148 of file bench.c.

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

◆ bench_AES256_encrypt()

static void bench_AES256_encrypt ( void *  data)
static

Definition at line 139 of file bench.c.

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

◆ bench_AES256_encrypt_setup()

static void bench_AES256_encrypt_setup ( void *  data)
static

Definition at line 133 of file bench.c.

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

◆ bench_AES256_init()

static void bench_AES256_init ( void *  data)
static

Definition at line 125 of file bench.c.

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

◆ gettimedouble()

static double gettimedouble ( void  )
static

Definition at line 7 of file bench.c.

Here is the caller graph for this function:

◆ main()

int main ( void  )

Definition at line 157 of file bench.c.

Here is the call graph for this function:

◆ print_number()

static void print_number ( double  x)
static

Definition at line 13 of file bench.c.

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

◆ run_benchmark()

static void run_benchmark ( char *  name,
void(*)(void *)  benchmark,
void(*)(void *)  setup,
void(*)(void *)  teardown,
void *  data,
int  count,
int  iter 
)
static

Definition at line 26 of file bench.c.

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