#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "tests_common.h"
Go to the source code of this file.
|
| static void | print_number (const int64_t x) |
| static void | run_benchmark (char *name, void(*benchmark)(void *, int), void(*setup)(void *), void(*teardown)(void *, int), void *data, int count, int iter) |
| static int | have_flag (int argc, char **argv, char *flag) |
| static int | have_invalid_args (int argc, char **argv, char **valid_args, size_t n) |
| static int | get_iters (int default_iters) |
| static void | print_output_table_header_row (void) |
◆ FP_EXP
◆ FP_MULT
| #define FP_MULT (1000000LL) |
◆ get_iters()
| int get_iters |
( |
int | default_iters | ) |
|
|
static |
◆ have_flag()
| int have_flag |
( |
int | argc, |
|
|
char ** | argv, |
|
|
char * | flag ) |
|
static |
◆ have_invalid_args()
| int have_invalid_args |
( |
int | argc, |
|
|
char ** | argv, |
|
|
char ** | valid_args, |
|
|
size_t | n ) |
|
static |
◆ print_number()
| void print_number |
( |
const int64_t | x | ) |
|
|
static |
◆ print_output_table_header_row()
| void print_output_table_header_row |
( |
void | | ) |
|
|
static |
◆ run_benchmark()
| void run_benchmark |
( |
char * | name, |
|
|
void(* | benchmark )(void *, int), |
|
|
void(* | setup )(void *), |
|
|
void(* | teardown )(void *, int), |
|
|
void * | data, |
|
|
int | count, |
|
|
int | iter ) |
|
static |