Bitcoin
|
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "sys/time.h"
Go to the source code of this file.
Functions | |
static double | gettimedouble (void) |
void | print_number (double x) |
void | run_benchmark (char *name, void(*benchmark)(void *), void(*setup)(void *), void(*teardown)(void *), void *data, int count, int iter) |
int | have_flag (int argc, char **argv, char *flag) |
|
static |
int have_flag | ( | int | argc, |
char ** | argv, | ||
char * | flag | ||
) |
void print_number | ( | double | x | ) |
void run_benchmark | ( | char * | name, |
void(*)(void *) | benchmark, | ||
void(*)(void *) | setup, | ||
void(*)(void *) | teardown, | ||
void * | data, | ||
int | count, | ||
int | iter | ||
) |