Commit 606bc1e1 authored by Ingo Molnar's avatar Ingo Molnar

perf bench: Clean up bench/bench.h

Clean up initializers in bench.h:

  - No need to break the line for function prototypes, they are more
    readable in a single line. (even if checkpatch complains about it

  - We try to align definitions / structure fields vertically,
    to make it  all a bit more readable.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1257853855-28934-2-git-send-email-mitake@dcl.info.waseda.ac.jp>
parent 158ba827
#ifndef BENCH_H #ifndef BENCH_H
#define BENCH_H #define BENCH_H
extern int bench_sched_messaging(int argc, const char **argv, extern int bench_sched_messaging(int argc, const char **argv, const char *prefix);
const char *prefix); extern int bench_sched_pipe(int argc, const char **argv, const char *prefix);
extern int bench_sched_pipe(int argc, const char **argv,
const char *prefix);
#define BENCH_FORMAT_DEFAULT_STR "default" #define BENCH_FORMAT_DEFAULT_STR "default"
#define BENCH_FORMAT_DEFAULT 0 #define BENCH_FORMAT_DEFAULT 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment