LMMS
Loading...
Searching...
No Matches
bench.h File Reference
#include <time.h>
#include <sys/time.h>

Go to the source code of this file.

Macros

#define _POSIX_C_SOURCE   200809L

Functions

static double bench_elapsed_s (const struct timespec *start, const struct timespec *end)
static struct timespec bench_start (void)
static double bench_end (const struct timespec *start_t)

Detailed Description

A simple real-time benchmarking API.

Macro Definition Documentation

◆ _POSIX_C_SOURCE

#define _POSIX_C_SOURCE   200809L

Function Documentation

◆ bench_elapsed_s()

double bench_elapsed_s ( const struct timespec * start,
const struct timespec * end )
inlinestatic

◆ bench_end()

double bench_end ( const struct timespec * start_t)
inlinestatic

◆ bench_start()

struct timespec bench_start ( void )
inlinestatic