LMMS
Loading...
Searching...
No Matches
benchmark.h File Reference
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include "primitives.h"
#include <algorithm>
#include <typeinfo>

Go to the source code of this file.

Classes

class  dsp::median_stat
struct  dsp::benchmark_globals
class  dsp::simple_benchmark< Target, Stat >

Namespaces

namespace  dsp

Macros

#define USE_RDTSC   0
#define CLOCK_SPEED   (1.6 * 1000.0 * 1000.0 * 1000.0)

Functions

template<class T>
void dsp::do_simple_benchmark (int runs=5, int repeats=50000)

Macro Definition Documentation

◆ CLOCK_SPEED

#define CLOCK_SPEED   (1.6 * 1000.0 * 1000.0 * 1000.0)

◆ USE_RDTSC

#define USE_RDTSC   0