aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-bench.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-24 16:36:03 +0100
committerIngo Molnar <mingo@elte.hu>2009-11-24 16:36:07 +0100
commit1263d736a9031f3d943819662d4bad727d64bf24 (patch)
treec740e74d19a0ecadd00bbdb8ad4b5a6b8d297480 /tools/perf/builtin-bench.c
parent184d3da8ef0ca552dffa0fdd35c046e058a2cf9a (diff)
parent12eac0bf0461910ae6dd7f071f156f75461a37cf (diff)
downloadkernel_samsung_crespo-1263d736a9031f3d943819662d4bad727d64bf24.zip
kernel_samsung_crespo-1263d736a9031f3d943819662d4bad727d64bf24.tar.gz
kernel_samsung_crespo-1263d736a9031f3d943819662d4bad727d64bf24.tar.bz2
Merge branch 'perf/bench' into perf/core
Merge reason: Looks mergable - ready it for the merge window. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-bench.c')
-rw-r--r--tools/perf/builtin-bench.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/perf/builtin-bench.c b/tools/perf/builtin-bench.c
index 90c39ba..e043eb8 100644
--- a/tools/perf/builtin-bench.c
+++ b/tools/perf/builtin-bench.c
@@ -12,6 +12,7 @@
*
* Available subsystem list:
* sched ... scheduler and IPC mechanism
+ * mem ... memory access performance
*
*/
@@ -43,6 +44,15 @@ static struct bench_suite sched_suites[] = {
NULL }
};
+static struct bench_suite mem_suites[] = {
+ { "memcpy",
+ "Simple memory copy in various ways",
+ bench_mem_memcpy },
+ { NULL,
+ NULL,
+ NULL }
+};
+
struct bench_subsys {
const char *name;
const char *summary;
@@ -53,9 +63,12 @@ static struct bench_subsys subsystems[] = {
{ "sched",
"scheduler and IPC mechanism",
sched_suites },
+ { "mem",
+ "memory access performance",
+ mem_suites },
{ NULL,
NULL,
- NULL }
+ NULL }
};
static void dump_suites(int subsys_index)