librfn
An ad-hoc utility library
Functions
benchmark.c File Reference
#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "librfn.h"

Go to the source code of this file.

Functions

void rf_benchmark_init (rf_benchmark_t *b, uint64_t runtime)
 
bool rf_benchmark_running (rf_benchmark_t *b)
 
void rf_benchmark_finalize (rf_benchmark_t *b, uint64_t nominal, rf_benchmark_results_t *r)
 
void rf_benchmark_results_show (rf_benchmark_results_t *r, const char *tag)