Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
#ifndef BENCH_H
#define BENCH_H

extern int bench_sched_messaging(int argc, const char **argv,
				 const char *prefix);
extern int bench_sched_pipe(int argc, const char **argv,
			    const char *prefix);
extern int bench_sched_messaging(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		0