linux/tools/perf/bench
Hitoshi Mitake 17d7a1123f perf bench: Fix confused variable namings and descriptions in mem subsystem
As Namhyung Kim pointed, there are confused namings and descriptions of words
"cycle" and "clock" in mem-memset.c and mem-memcpy.c.

With the option "-c" (or "--clock", now renamed as "--cycle"), mem subsystem
measures cost of memset() and memcpy() with cpu-cycles event.

But current mem subsystem source code contains lots of confused variable
namings and descriptions with "clock" (e.g. the variable use_clock). This is a
very bad style because there is another software event named "cpu-clock". This
patch replaces wrong usage of "clock" to "cycle".

v2: modified Documentation/perf-bench.txt for the descriptions of
--cycle option

Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1341236777-18457-1-git-send-email-h.mitake@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2012-07-02 14:35:45 -03:00
..
bench.h perf bench: Also allow measuring memset() 2012-01-24 20:25:32 -02:00
mem-memcpy-arch.h perf bench: Add feature that measures the performance of the arch/x86/lib/memcpy_64.S memcpy routines via 'perf bench mem' 2010-11-26 08:15:57 +01:00
mem-memcpy-x86-64-asm-def.h perf bench: Also allow measuring alternative memcpy implementations 2012-01-24 19:51:01 -02:00
mem-memcpy-x86-64-asm.S Merge branch 'perf/urgent' into perf/core 2012-02-06 19:11:02 -02:00
mem-memcpy.c perf bench: Fix confused variable namings and descriptions in mem subsystem 2012-07-02 14:35:45 -03:00
mem-memset-arch.h perf bench: Also allow measuring memset() 2012-01-24 20:25:32 -02:00
mem-memset-x86-64-asm-def.h perf bench: Also allow measuring memset() 2012-01-24 20:25:32 -02:00
mem-memset-x86-64-asm.S perf tool: Fix perf stack to non executable on x86_64 2012-02-06 19:14:17 -02:00
mem-memset.c perf bench: Fix confused variable namings and descriptions in mem subsystem 2012-07-02 14:35:45 -03:00
sched-messaging.c perf options: Check v type in OPT_U?INTEGER 2010-05-17 15:43:38 -03:00
sched-pipe.c perf tool: Fix gcc 4.6.0 issues 2011-02-07 12:41:41 -02:00