Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
bench.h File Reference

Go to the source code of this file.

Macros

#define BENCH_FORMAT_DEFAULT_STR   "default"
 
#define BENCH_FORMAT_DEFAULT   0
 
#define BENCH_FORMAT_SIMPLE_STR   "simple"
 
#define BENCH_FORMAT_SIMPLE   1
 
#define BENCH_FORMAT_UNKNOWN   -1
 

Functions

int bench_sched_messaging (int argc, const char **argv, const char *prefix)
 
int bench_sched_pipe (int argc, const char **argv, const char *prefix)
 
int bench_mem_memcpy (int argc, const char **argv, const char *prefix __maybe_unused)
 
int bench_mem_memset (int argc, const char **argv, const char *prefix)
 

Variables

int bench_format
 

Macro Definition Documentation

#define BENCH_FORMAT_DEFAULT   0

Definition at line 11 of file bench.h.

#define BENCH_FORMAT_DEFAULT_STR   "default"

Definition at line 10 of file bench.h.

#define BENCH_FORMAT_SIMPLE   1

Definition at line 13 of file bench.h.

#define BENCH_FORMAT_SIMPLE_STR   "simple"

Definition at line 12 of file bench.h.

#define BENCH_FORMAT_UNKNOWN   -1

Definition at line 15 of file bench.h.

Function Documentation

int bench_mem_memcpy ( int  argc,
const char **  argv,
const char *prefix  __maybe_unused 
)

Definition at line 179 of file mem-memcpy.c.

int bench_mem_memset ( int  argc,
const char **  argv,
const char prefix 
)
int bench_sched_messaging ( int  argc,
const char **  argv,
const char prefix 
)
int bench_sched_pipe ( int  argc,
const char **  argv,
const char prefix 
)

Variable Documentation

int bench_format

Definition at line 102 of file builtin-bench.c.